{"id":19925,"date":"2012-09-24T21:12:00","date_gmt":"2012-09-24T21:12:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/html5-videos\/"},"modified":"2013-01-04T16:16:53","modified_gmt":"2013-01-04T16:16:53","slug":"html5-videos","status":"publish","type":"plugin","link":"https:\/\/bn.wordpress.org\/plugins\/html5-videos\/","author":10256559,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"3.5.2","requires":"2.0.1","requires_php":"","requires_plugins":"","header_name":"HTML5 Videos","header_author":"Dustin Hayes","header_description":"","assets_banners_color":"fb5029","last_updated":"2013-01-04 16:16:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/cremalab.com\/html5-video-shortcodes\/","header_author_uri":"http:\/\/cremalab.com","rating":4.8,"author_block_rating":0,"active_installs":100,"downloads":12753,"num_ratings":4,"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":"1","5":"3"},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"603290","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"603290","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"603290","resolution":"2","location":"assets"}},"screenshots":{"1":"The HTML5 Videos plugin creates a new button in the Wordpress Editor to allow for easy embedding of Media Library videos.","2":"Only videos that have HTML5 extensions (.webm, .mp4, .ogv) will be displayed in the select boxes."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[203,233,6334],"plugin_category":[50],"plugin_contributors":[83647],"plugin_business_model":[],"class_list":["post-19925","plugin","type-plugin","status-publish","hentry","plugin_tags-html5","plugin_tags-media-library","plugin_tags-videos","plugin_category-media","plugin_contributors-powercat74","plugin_committers-powercat74"],"banners":{"banner":"https:\/\/ps.w.org\/html5-videos\/assets\/banner-772x250.jpg?rev=603290","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/html5-videos_fb5029.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/html5-videos\/assets\/screenshot-1.png?rev=603290","caption":"The HTML5 Videos plugin creates a new button in the Wordpress Editor to allow for easy embedding of Media Library videos."},{"src":"https:\/\/ps.w.org\/html5-videos\/assets\/screenshot-2.png?rev=603290","caption":"Only videos that have HTML5 extensions (.webm, .mp4, .ogv) will be displayed in the select boxes."}],"raw_content":"<!--section=description-->\n<h3>Embed HTML5 Videos from the Media Library<\/h3>\n\n<p>Make your media managers happy with this simple Wordpress plugin from <a href=\"\/\/cremalab.com\/\" title=\"Cremalab Makes Awesome Experiences\">Cremalab<\/a>. \u00a0No longer will you (or they) need to rely on Vimeo, Youtube or any pricey video hosting service to deliver videos to your audience. \u00a0Simply upload the correct HTML5 videos to your Media Library, then embed them into your pages easily using the Wordpress editor. \u00a0This plugin is different from other similar plugins because this writes the shortcodes for you!<\/p>\n\n<p>This small plugin seeks to fulfill these three major needs:\n  1.  Embed videos from the Media Library without relying on a third-party hosting service\n  2.  Embed the videos using HTML5 video tags with a Flash fallback for older browsers\n  3.  Make it easy - no need to write long short codes<\/p>\n\n<p>This plugin is built on the <a href=\"http:\/\/videojs.com\/\">videojs<\/a>\u00a0javascript library which detects browser capability and provides flash fallback for older browsers and to provide the controls styling. \u00a0All current browsers and most mobile browsers already support HTML5 video tags, so they will receive native HTML videos without any third-party plugins. \u00a0Browsers that do not support HTML5 videos will be shown a Flash version.<\/p>\n\n<h3>How Does it Work?<\/h3>\n\n<p>In three steps, you can be hosting your own videos:\n  1.  Convert your videos to HTML5 formats (we like the <a href=\"http:\/\/www.mirovideoconverter.com\/\" title=\"Miro Video Converter\">Miro Video Converter<\/a>\u00a0for this job).\n  2.  Upload all three formats to your Media Libary in Wordpress\n  3.  Embed the videos using the HTML5 Videos plugin<\/p>\n\n<p>Most other plugins make you write your the shortcode to embed the video. \u00a0HTML5 Videos makes this easier by allowing you to select the videos from the Media Library, set some options, and then insert the shortcode.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install it from the Plugins menu automatically or download the plugin from <a href=\"http:\/\/wordpress.org\/extend\/plugins\/html5-videos\/\" title=\"Download HTML5 Videos\">here<\/a> and upload it to the Plugins folder.<\/li>\n<li>Activate the plugin from the Plugins menu in Wordpress.<\/li>\n<li>Upload your HTML5-compatible videos into the Media Library.<\/li>\n<li>Embed them into your pages using the HTML5 Videos button in the editor.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I get an error when uploading my videos to the library<\/dt>\n<dd><p>Wordpress has a file upload size limit of 2-8MB by default on most hosts. \u00a0This will probably need to be increased if you are uploading longer (or HD) videos. \u00a0Instructions on manually increasing the upload limit will vary by host. \u00a0You should contact your host for instructions, if <a href=\"http:\/\/codex.wordpress.org\/FAQ_Working_with_WordPress#How_do_I_Import_a_WordPress_WXR_file_when_it_says_it_is_too_large_to_import.3F\" title=\"Increase the File Upload Size\">none of these options<\/a> help you.<\/p><\/dd>\n<dt>I only want to upload a few of the video formats<\/dt>\n<dd><p>HTML5 Videos will only embed what you tell it to embed. \u00a0If you don't have a .webm (.mp4, .ogv) video, then it will not let you choose to embed one. \u00a0Current browser support for the video formats can be found <a href=\"http:\/\/www.longtailvideo.com\/html5\" title=\"Current Video Formats\">here<\/a>.<\/p><\/dd>\n<dt>I want to create my own shortcode<\/dt>\n<dd><p>The shortcode is generated automatically, but if you need to change anything, here is the shortcode format:<\/p>\n\n<p>[video mp4 webm ogg poster width height preload autoplay setup]<\/p>\n\n<p>The \"video\" element is required (that's what makes this work), but everything else is optional.  The mp4, webm, ogg and poster elements will be fully-qualified paths to the appropriate resource on your server (ie: http:\/\/somedomain.com\/wp-content\/uploads\/bigbunny.mp4).  The preload should be set to \"none\", \"metadata\", or \"auto\".  Alternatively, you can specify \"true\" for \"auto\" or \"false\" for \"none\" and the autoplay attribute should be either \"autoplay\" or should be omitted entirely.  This is the way VideoJs requires these attributes to be set.<\/p>\n\n<p>The \"setup\" attribute should be unchecked (or set to \"manual\") if you will be programmatically interacting with the videos after the DOM has loaded.  For instance, if you are using the video in a modal that is created after the page loads, then set this value to \"manual\".  See the <a href=\"http:\/\/videojs.com\/docs\/api\/\" title=\"VideoJs API Documentation\">VideoJs API documentation<\/a> for instructions on how to interact with the video.  Each video on the page has a unique ID.  Inspect the page to get the ID for each video to be used in your API calls.<\/p><\/dd>\n<dt>How do I control the video via javascript?<\/dt>\n<dd><p>By default, the plugin sets up the necessary javascript to make the player work.  If you want to customize this (ie: you want to hide the video div on page load, and play the video in a popup modal sometime after page load), you must set the \"setup\" option to \"Manual\" (uncheck the \"Automatically Setup Video\" box), and then refer to the <a href=\"http:\/\/videojs.com\/docs\/api\/\" title=\"VideoJs API Documentation\">VideoJs API page<\/a> for instructions on firing the video.  Each video you embed into the page will have a random unique ID.  You'll need to inspect the video element to get this ID.  Then you can reference the video id's to play the video.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Added auto or manual setup to control videos via the VideoJs API<\/li>\n<li>Added shortcodes into documentation<\/li>\n<li>Added detection for remote css and js files - if they don't exist, load the local versions of the files<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed some path name problems in some installations<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Commit to Wordpress<\/li>\n<\/ul>","raw_excerpt":"Easily embed HTML5 videos from the Media Library into posts and pages.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19925"}],"author":[{"embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/powercat74"}],"wp:attachment":[{"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19925"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19925"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19925"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19925"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19925"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}