{"id":744,"date":"2009-07-15T14:39:34","date_gmt":"2009-07-15T14:39:34","guid":{"rendered":"http:\/\/demo.solostream.com\/wp-mediamag\/?p=744"},"modified":"2009-07-15T14:39:34","modified_gmt":"2009-07-15T14:39:34","slug":"how-to-add-video-to-a-post","status":"publish","type":"post","link":"https:\/\/demo.solostream.com\/wp-mediamag\/2009\/07\/15\/how-to-add-video-to-a-post\/","title":{"rendered":"How to Add Video to a Post"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignright size-thumbnail wp-image-699\" title=\"Humpback Whale\" src=\"http:\/\/demo.solostream.com\/wp-mediamag\/wp-content\/uploads\/sites\/30\/2009\/03\/Humpback-Whale-150x150.jpg\" alt=\"Humpback Whale\" width=\"150\" height=\"150\" \/>If you look at the homepage of this demo site, you&#8217;ll notice the first feature article image has a &#8220;video icon&#8221; floating in the center of the image. If you click through to look at the <a href=\"\/wp-mediamag\/wp-mediamag\/http:\/\/demo.solostream.com\/wp-mediamag\/2009\/03\/this-is-a-test-post-this-is-a-test-post-this-is-a-test-post-and-i-like-it\/\">single post<\/a> for that entry, you&#8217;ll notice the video expands to fit the full width of the post area.<\/p>\n<p>If you want your videos to appear like this, here&#8217;s all you need to do &#8230;<\/p>\n<p>When you write a new post, create a custom field named &#8220;<strong>videoembed<\/strong>,&#8221; and paste your embed code in as the value.<\/p>\n<p><strong>That&#8217;s all there is to it<\/strong>. You don&#8217;t need to paste your embed code within the post content at all, and you don&#8217;t need to change any of the sizes of the video. The theme will resize the video and display it properly on the single post page..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The best way to add videos to your posts.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-744","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/posts\/744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/comments?post=744"}],"version-history":[{"count":0,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/posts\/744\/revisions"}],"wp:attachment":[{"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/media?parent=744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/categories?post=744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/tags?post=744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}