/wordpress-plugin-oplayer

Another HTML5 video player comes to WordPress

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

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