{"id":75863,"date":"2017-10-09T02:06:15","date_gmt":"2017-10-09T02:06:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/lightweight-and-responsive-youtube-embed\/"},"modified":"2018-08-27T00:52:52","modified_gmt":"2018-08-27T00:52:52","slug":"lightweight-and-responsive-youtube-embed","status":"publish","type":"plugin","link":"https:\/\/haz.wordpress.org\/plugins\/lightweight-and-responsive-youtube-embed\/","author":15710881,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"4.9.29","requires":"3.0.0","requires_php":"","requires_plugins":"","header_name":"Lightweight and Responsive Youtube Embed","header_author":"WPSzaki","header_description":"Make your embedded Youtube videos responsive & lightweight with this plugin. Reduce the loading time of your site and increase the user experience. Just use this shortcode to get started: [youtube_embed url=\"Insert YT video URL here\"]","assets_banners_color":"4c8378","last_updated":"2018-08-27 00:52:52","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/wpszaki.hu","header_plugin_uri":"","header_author_uri":"https:\/\/wpszaki.hu","rating":3,"author_block_rating":0,"active_installs":30,"downloads":2058,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1743607","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1743607","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1743614","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1743614","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1743049","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1743049","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1743049","resolution":"3","location":"assets"}},"screenshots":{"1":"The code in action.","2":"The options panel.","3":"The basic shortcode."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[230,4035,606,222,1610],"plugin_category":[50,56],"plugin_contributors":[147467],"plugin_business_model":[],"class_list":["post-75863","plugin","type-plugin","status-publish","hentry","plugin_tags-embed","plugin_tags-lightweight","plugin_tags-responsive","plugin_tags-video","plugin_tags-youtube","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-wpszaki","plugin_committers-wpszaki"],"banners":{"banner":"https:\/\/ps.w.org\/lightweight-and-responsive-youtube-embed\/assets\/banner-772x250.png?rev=1743614","banner_2x":"https:\/\/ps.w.org\/lightweight-and-responsive-youtube-embed\/assets\/banner-1544x500.png?rev=1743614","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/lightweight-and-responsive-youtube-embed\/assets\/icon-128x128.png?rev=1743607","icon_2x":"https:\/\/ps.w.org\/lightweight-and-responsive-youtube-embed\/assets\/icon-256x256.png?rev=1743607","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/lightweight-and-responsive-youtube-embed\/assets\/screenshot-1.png?rev=1743049","caption":"The code in action."},{"src":"https:\/\/ps.w.org\/lightweight-and-responsive-youtube-embed\/assets\/screenshot-2.png?rev=1743049","caption":"The options panel."},{"src":"https:\/\/ps.w.org\/lightweight-and-responsive-youtube-embed\/assets\/screenshot-3.png?rev=1743049","caption":"The basic shortcode."}],"raw_content":"<!--section=description-->\n<p>If you are embedding Youtube video(s) into your site then you will need this plugin. As you may (or may not) know the default Youtube embed code is not responsive and in order to load the player itself your browser has to download more than 1MB of data from Youtube's servers. That is way too much and this is the reason why we made this plugin. A video player has to be lightweight and responsive. Period.<\/p>\n\n<p>This plugin is replacing the default Youtube player with the video's high quality thumbnail and a play button. The real player and the video won't load until you click on the play button or the thumbnail itself. With this easy trick you will have a much lighter and faster website and the thumbnail + the actual player will be responsive too.<\/p>\n\n<p>Our plugin is only 60KB without any extra library or unnecessary function.<\/p>\n\n<p>If you are speed-optimizing your site or if you want to reduce the loading times of your pages then you are at the right place.<\/p>\n\n<h3>This plugin will:<\/h3>\n\n<ul>\n<li>Make all of the embedded Youtube videos responsive automatically<\/li>\n<li>Will reduce the size of your pages (where you have embedded videos)<\/li>\n<li>Will make your site faster<\/li>\n<li>Will improve the user experience<\/li>\n<\/ul>\n\n<h3>You can also:<\/h3>\n\n<ul>\n<li><p>Manually insert a different thumbnail for each embedded video with the 'thumb_url' parameter.<\/p>\n\n<p>[youtube_embed url=\"video_url\" thumb-url=\"custom_thumb_url\"]<\/p><\/li>\n<li><p>Manually set a different width for each video with the 'width' parameter.<\/p>\n\n<p>[youtube_embed url=\"video_url\" width=\"50\"]<\/p><\/li>\n<li><p>Manually align each video to left, right or center with the 'align' parameter.<\/p>\n\n<p>[youtube_embed url=\"video_url\" align=\"center\"]<\/p><\/li>\n<li><p>Disable the related videos<\/p><\/li>\n<li>Disable the video controls<\/li>\n<li>Disable the fullscreen option<\/li>\n<li>Align the videos globally or individually<\/li>\n<li>Set the custom video width for all videos or to just a single video with a shortcode parameter<\/li>\n<\/ul>\n\n<h3>Comparison<\/h3>\n\n<p>Here's a quick comparison with the built-in TwentySeventeen theme (without any other plugin).<\/p>\n\n<p>We placed a default Youtube video embed code in a new and empty page, ran the tests and then replaced it with our solution before running the tests again.<\/p>\n\n<p>Total page size with the traditional Youtube embed code: 2.18MB\nTotal page size with our lightweight &amp; responsive embedder: 472KB<\/p>\n\n<p>Page load time with the traditional Youtube embed code: 5.33s\nPage load time with our lightweight &amp; responsive embedder: 2.52s<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<p>e.g.<\/p>\n\n<ol>\n<li>Upload the plugin folder to the \/wp-content\/plugins\/ directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place the [youtube_embed url=\"https:\/\/youtube_video_url_comes_here\"] shortcode in your post\/page to embed a video<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>Nothing at the moment.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release of the plugin.<\/li>\n<\/ul>","raw_excerpt":"Make your embedded Youtube videos responsive &amp; lightweight with this plugin. Reduce the loading time of your site and increase the user experience &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/75863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=75863"}],"author":[{"embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpszaki"}],"wp:attachment":[{"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=75863"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=75863"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=75863"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=75863"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=75863"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=75863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}