{"id":20226,"date":"2012-10-12T07:49:22","date_gmt":"2012-10-12T07:49:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/1player\/"},"modified":"2013-05-26T21:42:48","modified_gmt":"2013-05-26T21:42:48","slug":"1player","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/1player\/","author":8308409,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4","stable_tag":"1.4","tested":"3.4.2","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"1Player","header_author":"Fabien Quatravaux","header_description":"","assets_banners_color":"605f5d","last_updated":"2013-05-26 21:42:48","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.1nterval.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1776,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"614785","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3","1.4"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Admin area in Settings &gt; Media menu","2":"Admin area, when \"add Media\" button is clicked in the post edit page","3":"Video player for <a href=\"http:\/\/amazonie.arte.tv\">amazonie.arte.tv<\/a> with playlist controlled by thumbnails on the right","4":"Video player for <a href=\"http:\/\/www.maisoncarree.eu\">maisoncarree.eu<\/a>","5":"Video player for <a href=\"http:\/\/borgen.arte.tv\">borgen.arte.tv<\/a> with playlist controlled by thumbnails on the left","6":"Video player for <a href=\"http:\/\/newyork.arte.tv\">newyork.arte.tv<\/a> with playlist controlled by next\/prev buttons","7":"Audio player for <a href=\"http:\/\/www.robertoalagna.net\">robertoalagna.net<\/a> with dropdown playlist","8":"Audio player for <a href=\"http:\/\/www.juliettegreco.fr\">juliettegreco.fr<\/a> with dropdown playlist"}},"plugin_section":[],"plugin_tags":[452,203,444,222],"plugin_category":[50],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-20226","plugin","type-plugin","status-closed","hentry","plugin_tags-audio","plugin_tags-html5","plugin_tags-player","plugin_tags-video","plugin_category-media","plugin_committers-fab1en"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/1player_605f5d.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Wordpress can manage natively video and audio files, but when it comes to play it on your site, your need a plugin. 1player is such a plugin : when you insert a video or audio into a post, it will show a full featured HTML5 player that you can customize to your needs. You can choose to use the native HTML5 player provided by the latest browsers, or use a javascript\/flash library to enhance it and provide the same level of service to older browsers. Supported libraries are <a href=\"http:\/\/www.mediaelementjs.com\/\">MediaElementJS<\/a> and <a href=\"http:\/\/videojs.com\/\">VideoJS<\/a>, but you can easily add new ones.<\/p>\n <p>1player allows you to save in the Media Library files that are not hosted in your Wordpress installation (like a CDN). You can also specify several formats and qualities for each video and asign it a poster image from the Media Library. Another feature is video or audio playlist : the same player is used to display several media, with next and prev buttons to got through the playlist.<\/p>\n\n<!--section=installation-->\n<p>Upload the plugin files in your wp-content\/plugins directory and go to the Plugins menu to activate it. \nGo to Settings &gt; Media menu and customize your player.<\/p>\n\n<!--section=faq-->\n<h4>The HTML5 player ??? is not supported, can I add it ?<\/h4>\n <p>Yes, the plugin has been designed to allow easy extensions to support other HTML5 players. Let's suppose your player is named \"super_html5\". You will have to create a new directory in <code>wp-content\/plugins\/1player\/players\/super_html5<\/code> that contains a super_html5.php with the following content :<\/p>\n <pre><code>add_action('super_html5_video_render', 'super_html5_render'); function super_html5_render($args){     \/\/ $args contains video sources and player options      \/\/ display HTML5 video tag     ?&gt;&lt;video width=\"&lt;?php echo $args['width'] ?&gt;\" height=\"&lt;?php echo $args['height'] ?&gt;\" src=\"$args['videos'][0]['html5']['src']['src']\" \/&gt;&lt;?php } <\/code><\/pre>\n <h4>Where can I find skins for my brand new player ?<\/h4>\n <p>The HTML5 native player skin is provided by the visitor browser : Firefox one is different from Safari's or Chrome's. \nBut you can use MediaElementJS or VideoJS to provide the same skin across all browsers. Those players are skinable with CSS. For a personal skin development, please contact <a href=\"http:\/\/www.1nterval.com\">1nterval<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>1.4<\/h4>\n <ul>\n<li>[fix] Update VideoJS to version 4.0.2<\/li>\n<\/ul>\n <h4>1.3<\/h4>\n <ul>\n<li>Initial published version<\/li>\n<\/ul>","raw_excerpt":"Display videos and songs with the native HTML5 player of browsers that have it or with the help of a javascript and flash library.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=20226"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fab1en"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20226"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20226"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20226"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20226"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20226"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}