{"id":92686,"date":"2018-11-22T20:55:00","date_gmt":"2018-11-22T20:55:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/playerjs\/"},"modified":"2025-02-25T16:02:19","modified_gmt":"2025-02-25T16:02:19","slug":"playerjs","status":"publish","type":"plugin","link":"https:\/\/so.wordpress.org\/plugins\/playerjs\/","author":16278054,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.24","stable_tag":"2.24","tested":"6.7.5","requires":"4.6","requires_php":"5.2.4","requires_plugins":null,"header_name":"PlayerJS","header_author":"Playerjs.com","header_description":"Embed your player from PlayerJS Builder and play HTML5 Video, Audio, HLS, DASH, YouTube, Vimeo","assets_banners_color":"e9dfdf","last_updated":"2025-02-25 16:02:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/playerjs.com\/docs\/q=wordpress","header_author_uri":"https:\/\/playerjs.com","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":22951,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.2":{"tag":"2.2","author":"playerjs","date":"2023-10-21 12:52:24"},"2.21":{"tag":"2.21","author":"playerjs","date":"2025-02-25 16:02:19"},"2.24":{"tag":"2.24","author":"playerjs","date":"2025-02-25 16:02:19"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":5},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1979095,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1979095,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1979095,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1979095,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.2","2.21","2.24"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2966739,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1979095,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Player shortcode","2":"Plugin settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4702,164671,14227,164670,5637],"plugin_category":[],"plugin_contributors":[164672],"plugin_business_model":[],"class_list":["post-92686","plugin","type-plugin","status-publish","hentry","plugin_tags-audio-player","plugin_tags-hls-player","plugin_tags-html5-player","plugin_tags-playerjs","plugin_tags-video-player","plugin_contributors-playerjs","plugin_committers-playerjs"],"banners":{"banner":"https:\/\/ps.w.org\/playerjs\/assets\/banner-772x250.jpg?rev=1979095","banner_2x":"https:\/\/ps.w.org\/playerjs\/assets\/banner-1544x500.jpg?rev=1979095","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/playerjs\/assets\/icon-128x128.png?rev=1979095","icon_2x":"https:\/\/ps.w.org\/playerjs\/assets\/icon-256x256.png?rev=1979095","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/playerjs\/assets\/screenshot-1.png?rev=2966739","caption":"Player shortcode"},{"src":"https:\/\/ps.w.org\/playerjs\/assets\/screenshot-2.png?rev=1979095","caption":"Plugin settings"}],"raw_content":"<!--section=description-->\n<p>Build custom video \/ audio player on <a href=\"https:\/\/playerjs.com\">PlayerJS.com<\/a> for FREE and place it on your website.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/playerjs<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> screen in WordPress.<\/li>\n<li>Build your own player at <a href=\"https:\/\/playerjs.com\">playerjs.com<\/a> and replace the default file playerjs_default.js to yours or upload separately and change the URL on the Settings page of the plugin.<\/li>\n<li>Use the button PlayerJS in the WP 4 or simple place a [playerjs] shortcode in WP 5. Below is the list of accepted parameters:<\/li>\n<\/ol>\n\n<ul>\n<li>file: path to the video (mostly MP4) \/ audio (mostly MP3) \/ HLS \/ DASH \/ YouTube \/ Vimeo \/ JSON playlist<\/li>\n<li>title: text inscription (optional)<\/li>\n<li>subtitle: path to .srt .ass .ssa or .vtt file (optional)<\/li>\n<li>poster: path to image (optional)<\/li>\n<li>thumbnails: path to thumbnails .vtt file (optional)<\/li>\n<li>width: player width in percentage (50%) or pixels (500), default 100% (optional)<\/li>\n<li>autoplay: 0\/1 (optional)<\/li>\n<li>start: start playback from the specified second<\/li>\n<li>end: end playback on the specified second<\/li>\n<li>align: left, right, center (optional)<\/li>\n<li>margin: in pixels (optional)<\/li>\n<\/ul>\n\n<p>All other settings can be configured in the <a href=\"https:\/\/playerjs.com\">builder<\/a>.<\/p>\n\n<p>Sample shortcode:<\/p>\n\n<pre><code>[playerjs file=\"\/\/plrjs.com\/x.mp4\"]\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20can%20i%20add%20quality%20selection%3F'><h3>How can i add quality selection?<\/h3><\/dt>\n<dd><p>Sample shortcode with quality selection:<\/p>\n\n<pre><code>[playerjs file=\"[480]\/\/site.com\/480.mp4,[720]\/\/site.com\/720.mp4\"]\n<\/code><\/pre><\/dd>\n<dt id='how%20can%20i%20add%20a%20protective%20watermark%3F'><h3>How can i add a protective watermark?<\/h3><\/dt>\n<dd><p>You can show in the player invisible username in a random place to protect against screen recording. Enable <a href=\"https:\/\/playerjs.com\/docs\/q=watermarks#wp\">watermarks plugin<\/a> in the builder, update your player and pass to shortcode watermark=1.<\/p>\n\n<pre><code>[playerjs file=\"URL\" watermark=1]\n<\/code><\/pre><\/dd>\n<dt id='how%20can%20i%20use%20playlists%3F'><h3>How can i use playlists?<\/h3><\/dt>\n<dd><p>Sample shortcode with <a href=\"https:\/\/playerjs.com\/docs\/q=playlist\">JSON playlist<\/a>:<\/p>\n\n<pre><code>[playerjs file=\"[{'title':'1','file':'http:\/\/plrjs.com\/x.mp4'},{'title':'2','file':'http:\/\/plrjs.com\/x.mp4'}]\"]\n<\/code><\/pre>\n\n<p>or<\/p>\n\n<pre><code>[playerjs file=\"\/\/site.com\/json.txt\"]\n<\/code><\/pre><\/dd>\n<dt id='where%20can%20i%20find%20documentation%20for%20all%20player%20features%3F'><h3>Where can i find documentation for all player features?<\/h3><\/dt>\n<dd><p>You can find complete documentation here:\n* <a href=\"https:\/\/playerjs.com\/docs\/search=quality\">Quality<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=ga\">Google Analytics<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/search=api\">Javascript API<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=playlist\">Playlist<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=customelements\">Logo<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=playersize\">Aspect ratio<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/search=playback\">Playback<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=audiotracks\">Audio tracks<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=thumbnailsphpwebvtt\">Thumbnails<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/search=share\">Social sharing<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=youtube\">YouTube<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=vimeo\">Vimeo<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=watermarks\">Watermarks<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/search=dash\">DASH<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/search=hls\">HlS<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=encodingbase64\">Hotlink protection<\/a>\n* <a href=\"https:\/\/playerjs.com\/docs\/q=combine\">Combining multiple players into one<\/a><\/p><\/dd>\n<dt id='how%20can%20i%20set%20the%20custom%20height%20of%20the%20player%3F'><h3>How can i set the custom height of the player?<\/h3><\/dt>\n<dd><p>You can use option <code>height:<\/code> in shortcode (height:300), when <a href=\"https:\/\/playerjs.com\/docs\/q=playersize\">aspect ratio<\/a> is set to value <code>container size<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1<\/h4>\n\n<ul>\n<li>Default player script updated to the version 8.91<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>Settings page and a special button PlayerJS for WP 4<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>Minor changes for WP 5<\/li>\n<\/ul>\n\n<h4>2.4<\/h4>\n\n<ul>\n<li>Fixed bugs<\/li>\n<\/ul>\n\n<h4>2.5<\/h4>\n\n<ul>\n<li>Fixed bugs, default player updated<\/li>\n<\/ul>\n\n<h4>2.6<\/h4>\n\n<ul>\n<li>Playlist JSON inside shortcode<\/li>\n<\/ul>\n\n<h4>2.7<\/h4>\n\n<ul>\n<li>Fixed bugs, default player updated<\/li>\n<\/ul>\n\n<h4>2.8<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/playerjs.com\/docs\/q=encodingbase64\">Hotlink protection<\/a> added<\/li>\n<\/ul>\n\n<h4>2.9<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/playerjs.com\/docs\/q=watermarks#wp\">Watermark<\/a> support added, default player updated<\/li>\n<\/ul>\n\n<h4>2.10<\/h4>\n\n<ul>\n<li>Fixed bugs, default player updated<\/li>\n<\/ul>\n\n<h4>2.11 - 2.13<\/h4>\n\n<ul>\n<li>Fixed bugs, default player updated<\/li>\n<\/ul>\n\n<h4>2.14<\/h4>\n\n<ul>\n<li>Fixed bug with Classic Editor (TinyMCE) button<\/li>\n<\/ul>\n\n<h4>2.15 - 2.17<\/h4>\n\n<ul>\n<li>Fixed bugs, default player updated<\/li>\n<\/ul>\n\n<h4>2.18<\/h4>\n\n<ul>\n<li>Time memorization fixed<\/li>\n<\/ul>\n\n<h4>2.19<\/h4>\n\n<ul>\n<li>Added <a href=\"https:\/\/playerjs.com\/docs\/q=replacetags\">audio\/video tag replacement<\/a><\/li>\n<\/ul>\n\n<h4>2.20-2.21<\/h4>\n\n<ul>\n<li>Bug fixed<\/li>\n<\/ul>","raw_excerpt":"The official plugin for PlayerJS.com - video &amp; audio player builder. Make an awesome player for your website for free.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/92686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=92686"}],"author":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/playerjs"}],"wp:attachment":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=92686"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=92686"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=92686"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=92686"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=92686"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=92686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}