{"id":105,"date":"2015-04-24T14:40:07","date_gmt":"2015-04-24T14:40:07","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/jetpack\/?p=105"},"modified":"2023-03-31T08:22:48","modified_gmt":"2023-03-31T07:22:48","slug":"youtube-video","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/2015\/04\/24\/youtube-video\/","title":{"rendered":"YouTube Video"},"content":{"rendered":"<p>Just paste in a youtube url and the player is embedded.<\/p>\n<p><iframe loading=\"lazy\"  id=\"_ytid_83696\"  width=\"474\" height=\"266\"  data-origwidth=\"474\" data-origheight=\"266\"  data-relstop=\"1\" src=\"https:\/\/www.youtube.com\/embed\/XrL1xRttDxk?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=0&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/p>\n<p>You can also paste in the embed code from YouTube and it will be converted to a shortcode, this is handy if you want to customise the video size or other options. For example avoid showing related videos.<\/p>\n<p>Alternatively you can\u00a0add\u00a0<em>?rel=0<\/em>\u00a0after the url before pasting it in:\u00a0<em>https:\/\/www.youtube.com\/watch?v=u2wrYBPLsxg?rel=0<\/em><\/p>\n<p>Which will hide related videos.<\/p>\n<p>Or <em>https:\/\/www.youtube.com\/watch?v=NMmwxn7XBkw&amp;w=600&amp;h=600rel=0 <\/em>which allows you to control the dimensions.<\/p>\n<p>If you are wanting to do more than embed one or two videos you might find the Embed Plus for YouTube plugin handy.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"TfXUTfABE3\"><p><a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/settings\/plugins-3-2\/embed-plus-for-youtube\/\">Embed Plus for YouTube<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Embed Plus for YouTube&#8221; &#8212; Glow Blog Help\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/glowbloghelp\/settings\/plugins-3-2\/embed-plus-for-youtube\/embed\/#?secret=bNjrWeMEFP#?secret=TfXUTfABE3\" data-secret=\"TfXUTfABE3\" width=\"474\" height=\"267\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just paste in a youtube url and the player is embedded. You can also paste in the embed code from YouTube and it will be converted to a shortcode, this is handy if you want to customise the video size or other options. For example avoid showing related videos. Alternatively you can\u00a0add\u00a0?rel=0\u00a0after the url before &hellip; <a href=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/2015\/04\/24\/youtube-video\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">YouTube Video<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[14],"tags":[15,6],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-video","tag-shortcode","tag-video"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":7,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":529,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/posts\/105\/revisions\/529"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/embeds\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}