=== PlayerJS ===
Contributors: playerjs
Plugin URI: https://playerjs.com/docs/q=wordpress
Author link: https://playerjs.com
Tags: PlayerJS, HTML5 player, video player, audio player, HLS player, DASH player, YouTube player, Vimeo player
Requires at least: 4.6
Tested up to: 4.9.8
Stable tag: trunk
Requires PHP: 5.2.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
The official plugin for PlayerJS.com - video & audio player builder. Make an awesome player for your website for free.
== Description ==
Build custom video / audio player on PlayerJS.com for FREE and place it on your website. Use simply [playerjs file="URL"] shortcode at the desired location in your page.
== Installation ==
1. Upload the plugin files to the `/wp-content/plugins/playerjs` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the `Plugins` screen in WordPress.
3. Build your own player at playerjs.com and replace the default file playerjs_default.js to yours or upload separately and change the URL on the Settings page of the plugin.
4. Use the button PlayerJS in the WP editor or include [playerjs] shortcode on your website pages/posts manually. Below is the list of accepted parameters:
* file: path to the video (mostly MP4) / audio (mostly MP3) / HLS / DASH / YouTube / Vimeo / JSON playlist
* title: text inscription (optional)
* subtitle: path to .srt .ass .ssa or .vtt file (optional)
* poster: path to image (optional)
* thumbnails: path to thumbnails .vtt file (optional)
* width: player width in percentage (50%) or pixels (500), default 100% (optional)
* autoplay: 0/1 (optional)
* start: start playback from the specified second
* end: end playback on the specified second
* align: left, right, center (optional)
* margin: in pixels (optional)
All other settings can be configured in the builder.
Sample shortcode:
`[playerjs file="//cdn.playerjs.com/x.mp4"]`
== Frequently Asked Questions ==
= How can i add quality selection? =
Sample shortcode with quality selection:
`[playerjs file="[480]//site.com/480.mp4,[720]//site.com/720.mp4"]`
= How can i use playlists? =
Sample shortcode with JSON playlist:
`[playerjs file="//site.com/json.txt"]`
= Where can i find documentation for all player features? =
You can find complete documentation here:
* Quality
* Google Analytics
* Javascript API
* Playlist
* Logo
* Aspect ratio
* Playback
* Audio tracks
* Thumbnails
* Social sharing
* YouTube
* Vimeo
* DASH
* HlS
= How can i set the custom height of the player? =
You can use option `height:` in shortcode (height:300), when aspect ratio is set to value `container size`.
== Screenshots ==
1. PlayerJS button and shortcode
2. Plugin settings
== Changelog ==
= 2.1 =
* Default player script updated to the version 8.91
= 2.2 =
* Settings page and a special button PlayerJS for TinyMCE