{"id":53072,"date":"2016-12-23T02:40:46","date_gmt":"2016-12-23T02:40:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/redirect-when-video-ends\/"},"modified":"2017-02-19T00:23:44","modified_gmt":"2017-02-19T00:23:44","slug":"redirect-when-video-ends","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/redirect-when-video-ends\/","author":15227462,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"trunk","tested":"4.8.28","requires":"4.7","requires_php":"","requires_plugins":"","header_name":"Redirect when Video Ends","header_author":"Ethan Luis McDonough","header_description":"","assets_banners_color":"","last_updated":"2017-02-19 00:23:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/redirect-when-video-ends\/","header_author_uri":"http:\/\/www.ethanmcdonough.com\/","rating":5,"author_block_rating":0,"active_installs":40,"downloads":2123,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>1.0 - first version\n1.1 - current version<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[18692,229,727,222],"plugin_category":[],"plugin_contributors":[129121],"plugin_business_model":[],"class_list":["post-53072","plugin","type-plugin","status-publish","hentry","plugin_tags-html5-video","plugin_tags-javascript","plugin_tags-redirect","plugin_tags-video","plugin_contributors-ethanluismcdonough","plugin_committers-ethanluismcdonough"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/redirect-when-video-ends.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<h4>Redirect when Video Ends<\/h4>\n\n<p>This plugin will allow you to use the shortcode <code>[redirvid]<\/code> and embed an HTML5 video.  Once this video is over, the page will be automatically redirected<\/p>\n\n<h4>Attributes for this shortcode<\/h4>\n\n<pre><code>src - The source of the video file.\nlink - The link that is opened when the video ends.\ntarget - The default is `_self`, which redirects the page.  You can use any of the values that you could use with the [`target` attribute of an `&lt;a&gt;` tag](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\/Element\/a#attr-target).\nautoplay - This  attribute specifies whether or not the video begins playing on its own.  The value `yes` means the video will autoplay.  The value `no` means that the video will not autoplay.  The default is value `no`.\ncontrols - This  attribute specifies whether or not the video has user controls.  The value `no` means that the video will not have controls.  The value `yes` means \nmuted - This  attribute specifies whether or not the video is muted.  The value `no` means that the video will not have controls.  The value `yes` means the video will have controls.  The default is value `no`.\nposter - The source of the poster image of the HTML5 video.  This is the image that shows up before the video plays.\nclass - The HTML class of the video.\nid - The HTML id of the video.\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol><\/dd>\n<dt>Does the redirect use JavaScript<\/dt>\n<dd><p>Yes, the redirect needs JavaScript.  If the JavaScript is turned off on the user\u2019s device, this plugin won\u2019t work.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>The plugin has been created<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<p>Allows muting, class, and id.<\/p>","raw_excerpt":"A shortcode that allows you to embed an HTML5 video and redirect the page when the video is over","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/53072","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=53072"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ethanluismcdonough"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=53072"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=53072"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=53072"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=53072"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=53072"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=53072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}