{"id":7945,"date":"2014-04-03T02:58:32","date_gmt":"2014-04-03T06:58:32","guid":{"rendered":"http:\/\/info.template-help.com\/?p=7945"},"modified":"2017-12-13T10:59:51","modified_gmt":"2017-12-13T15:59:51","slug":"how-to-insert-video","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-insert-video.html","title":{"rendered":"WordPress. How to insert video"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>This tutorial will show you how to insert video in your WordPress based website.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=cLw4QJBBjsk?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to insert video<\/a><\/p>\r\n<p>1.  Let&#8217;s add a new video to a post. Navigate to <strong>Posts->Add New<\/strong> or to <strong>Pages->Add New<\/strong>. All you need to do to embed a video into a post or page is to paste the URL into its content area. <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_1-300x283.png\" alt=\"WordPress_How_to_insert_video_1\" width=\"300\" height=\"283\" class=\"aligncenter size-medium wp-image-34053\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_1-300x283.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_1-150x141.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_1.png 416w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>For example: <\/p>\r\n<pre>Check out this cool video: http:\/\/www.youtube.com\/watch?v=BeyEGebJ1l4<\/pre>\r\n<p>Make sure that the URL  is on its own line and not hyperlinked (clickable when viewing the post). <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_2-300x216.png\" alt=\"WordPress_How_to_insert_video_2\" width=\"300\" height=\"216\" class=\"aligncenter size-medium wp-image-34054\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_2-300x216.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_2-150x108.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_2.png 605w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Publish the newly created post and check the changes. WordPress will automatically turn that into a YouTube embed when the post is viewed. <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_3-300x264.png\" alt=\"WordPress_How_to_insert_video_3\" width=\"300\" height=\"264\" class=\"aligncenter size-medium wp-image-34055\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_3-300x264.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_3-150x132.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_3.png 766w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>2. You may also  wrap the URL in the <strong>embed<\/strong> shortcode. It will accomplish the same effect, but does not require the URL to be on its own line. It also allows you to set a maximum (but not fixed) width and height, like this: <\/p>\r\n<p><strong><span>[<\/span>embed width=&#8221;123&#8243; height=&#8221;456&#8243;]http:\/\/vimeo.com\/90513461<span>[<\/span>\/embed<span>]<\/span><\/strong><\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_4-300x144.png\" alt=\"WordPress_How_to_insert_video_4\" width=\"300\" height=\"144\" class=\"aligncenter size-medium wp-image-34056\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_4-300x144.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_4-150x72.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/WordPress_How_to_insert_video_4.png 770w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>3. Please note that WordPress will only embed URLs matching an internal whitelist. This is for security purposes.<\/p>\r\n<p>You can check out <a href=\"http:\/\/codex.wordpress.org\/Embeds\">WordPress Codex<\/a> for more information on video embedding.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=cLw4QJBBjsk?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to insert video<\/a><\/p>\r\n<\/p>\r\n<\/p>\r\n<p>In case you&#8217;re searching for a <a href=\"https:\/\/www.templatemonster.com\/category\/video-gallery-wordpress-themes\/\">video gallery wordpress theme<\/a> to build a video website from scratch, look through our premium themes .<\/p> \r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to insert video in your WordPress based website.<\/p>\n","protected":false},"author":37,"featured_media":34064,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[513,662,527,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/7945"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=7945"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/7945\/revisions"}],"predecessor-version":[{"id":83514,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/7945\/revisions\/83514"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/34064"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=7945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=7945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=7945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}