Skip to content

shiyiya/wordpress-plugin-oplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress-Plugin-OPlayer

https://github.com/shiyiya/oplayer

https://wordpress.org/plugins/oplayer

Another HTML5 video player comes to WordPress.

[oplayer title="君の名は" src="https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/君の名は.mp4" poster="https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/poster.png" subtitle="https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/君の名は-jp.srt" watermark="https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/poster.png" thumbnails="https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/thumbnails.jpg" thumbnailsCount="100" autoplay="1"]

Options

name shortcode default
container - document.querySelector('.oplayer-{id}')
src src required
title title -
poster poster -
theme theme '#6668ab'
live live 0
autoplay autoplay 0
autopause autopause 1
loop loop 0
screenshot screenshot 0
volume volume 0.8
thumbnails thumbnails -
thumbnailsCount thumbnailsCount -
subtitle subtitle -
watermark watermark -

Devolopment

http://localhost:8000

docker-compose up

About

Another HTML5 video player comes to WordPress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published