{"id":242,"date":"2012-02-01T13:23:14","date_gmt":"2012-02-01T13:23:14","guid":{"rendered":"https:\/\/teach.alimomeni.net\/2012spring1\/?page_id=242"},"modified":"2012-02-01T13:28:18","modified_gmt":"2012-02-01T13:28:18","slug":"embed-videos","status":"publish","type":"page","link":"https:\/\/teach.alimomeni.net\/2012spring1\/?page_id=242","title":{"rendered":"Embed Videos"},"content":{"rendered":"<p>[thanks to <a href=\"golancourses.net\">Golan<\/a> for hints]<\/p>\n<p>For embedding videos into this blog, we are using the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/ab-video\/other_notes\/\" target=\"_blank\">AB Video<\/a> plugin, which allows you to embed YouTube, Vimeo or Dailymotion movie clips by entering a shortcode (<!-- AB Video: Invalid clip_id --> \/ <!-- AB Video: Invalid clip_id --> \/ <!-- AB Video: Invalid clip_id -->) into the post area. See the original site for information and instructions for <a href=\"http:\/\/wordpress.org\/extend\/plugins\/ab-video\/other_notes\/\" target=\"_blank\">AB Video<\/a>. \u00a0Here&#8217;s the redux:<\/p>\n<p>&nbsp;<\/p>\n<h3>USAGE<\/h3>\n<p><em>Vimeo:<\/em> 1. Enter the\u00a0<code><!-- AB Video: Invalid clip_id --><\/code>\u00a0short code into any post.\u00a0<code>clip_id<\/code>is the number from the clip&#8217;s URL (e.g.\u00a0<a href=\"http:\/\/vimeo.com\/123456)\" rel=\"nofollow\">http:\/\/vimeo.com\/123456)<\/a>\u00a02. Optionally modify the clip&#8217;s appearance by specifying width or height, like so:\u00a0<code><!-- AB Video: Invalid clip_id --><\/code>\u00a03. Using empty values for either the\u00a0<code>width<\/code>\u00a0or\u00a0<code>height<\/code>attributes will cause AB-Video to calculate the proper dimension based on a 16:9 aspect ration. Example:\u00a0<code><p><iframe src='http:\/\/player.vimeo.com\/video\/12345678?portrait=0' width='533' height='300' frameborder='0'><\/iframe><\/p><\/code>\u00a0or<code><p><iframe src='http:\/\/player.vimeo.com\/video\/12345678?portrait=0' width='640' height='360' frameborder='0'><\/iframe><\/p><\/code><\/p>\n<p><em>Youtube:<\/em> 1. Enter the\u00a0<code><p><object width=\"512\" height=\"313\" type=\"application\/x-shockwave-flash\" data=\"http:\/\/www.youtube.com\/v\/XXXXXXX&fs=1&fmt=18\">\r\n\t\t\t<param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/XXXXXXX&fs=1&fmt=18\"><\/param>\r\n\t\t\t<param name=\"allowFullScreen\" value=\"true\" \/>\r\n\t\t\t<param name=\"allowscriptaccess\" value=\"always\" \/>\r\n\t\t\t<param name=\"wmode\" value=\"transparent\"><\/param>\r\n\t\t\t<\/object><\/p><\/code>\u00a0short code into any post.<code>clip_id<\/code>\u00a0is the id from the clip&#8217;s URL after v= (e.g.\u00a0<a href=\"http:\/\/www.youtube.com\/watch?v=2LbpLRZwWtE)\" rel=\"nofollow\">http:\/\/www.youtube.com\/watch?v=2LbpLRZwWtE)<\/a>\u00a02. Optionally modify the clip&#8217;s appearance by specifying width or height, like so:\u00a0<code><p><object width=\"400\" height=\"250\" type=\"application\/x-shockwave-flash\" data=\"http:\/\/www.youtube.com\/v\/XXXXXXX&fs=1&fmt=18\">\r\n\t\t\t<param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/XXXXXXX&fs=1&fmt=18\"><\/param>\r\n\t\t\t<param name=\"allowFullScreen\" value=\"true\" \/>\r\n\t\t\t<param name=\"allowscriptaccess\" value=\"always\" \/>\r\n\t\t\t<param name=\"wmode\" value=\"transparent\"><\/param>\r\n\t\t\t<\/object><\/p><\/code>\u00a03. Using empty values for either the\u00a0<code>width<\/code>\u00a0or\u00a0<code>height<\/code>attributes will cause AB-Video to calculate the proper dimension based on a 16:9 aspect ration. Example:\u00a0<code><p><object width=\"533\" height=\"325\" type=\"application\/x-shockwave-flash\" data=\"http:\/\/www.youtube.com\/v\/2LbpLRZwWtE&fs=1&fmt=18\">\r\n\t\t\t<param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/2LbpLRZwWtE&fs=1&fmt=18\"><\/param>\r\n\t\t\t<param name=\"allowFullScreen\" value=\"true\" \/>\r\n\t\t\t<param name=\"allowscriptaccess\" value=\"always\" \/>\r\n\t\t\t<param name=\"wmode\" value=\"transparent\"><\/param>\r\n\t\t\t<\/object><\/p><\/code>\u00a0or\u00a0<code><p><object width=\"640\" height=\"385\" type=\"application\/x-shockwave-flash\" data=\"http:\/\/www.youtube.com\/v\/2LbpLRZwWtE&fs=1&fmt=18\">\r\n\t\t\t<param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/2LbpLRZwWtE&fs=1&fmt=18\"><\/param>\r\n\t\t\t<param name=\"allowFullScreen\" value=\"true\" \/>\r\n\t\t\t<param name=\"allowscriptaccess\" value=\"always\" \/>\r\n\t\t\t<param name=\"wmode\" value=\"transparent\"><\/param>\r\n\t\t\t<\/object><\/p><\/code><\/p>\n<p><em>Dailymotion:<\/em> 1. Enter the\u00a0<code><p><iframe frameborder=\"0\" width=\"512\" height=\"288\" \r\n\t\t\t\tsrc=\"http:\/\/www.dailymotion.com\/embed\/video\/xdjrm7?width=512&theme=default&foreground=%23F7FFFD&highlight=%23FFC300&background=%23171D1B&start=&animatedTitle=&iframe=1&additionalInfos=0&autoPlay=0&hideInfos=0\">\r\n\t\t\t\t<\/iframe><\/p><\/code>\u00a0short code into any post.\u00a0<code>clip_id<\/code>\u00a0is the id from the clip&#8217;s URL (e.g.<a href=\"http:\/\/www.dailymotion.com\/video\/xdjrm7_kylie-minogue-all-the-lovers_music#hp-v-v4)\" rel=\"nofollow\">http:\/\/www.dailymotion.com\/video\/xdjrm7_kylie-minogue-all-the-lovers_music#hp-v-v4)<\/a>\u00a02. Optionally modify the clip&#8217;s appearance by specifying width or height, like so:<code><p><iframe frameborder=\"0\" width=\"400\" height=\"225\" \r\n\t\t\t\tsrc=\"http:\/\/www.dailymotion.com\/embed\/video\/XXXXXXX?width=400&theme=default&foreground=%23F7FFFD&highlight=%23FFC300&background=%23171D1B&start=&animatedTitle=&iframe=1&additionalInfos=0&autoPlay=0&hideInfos=0\">\r\n\t\t\t\t<\/iframe><\/p><\/code>\u00a03. Using empty values for either the\u00a0<code>width<\/code>\u00a0or\u00a0<code>height<\/code>\u00a0attributes will cause AB-Video to calculate the proper dimension based on a 16:9 aspect ration. Example:\u00a0<code><p><iframe frameborder=\"0\" width=\"533\" height=\"300\" \r\n\t\t\t\tsrc=\"http:\/\/www.dailymotion.com\/embed\/video\/12345678?width=533&theme=default&foreground=%23F7FFFD&highlight=%23FFC300&background=%23171D1B&start=&animatedTitle=&iframe=1&additionalInfos=0&autoPlay=0&hideInfos=0\">\r\n\t\t\t\t<\/iframe><\/p><\/code>\u00a0or\u00a0<code><p><iframe frameborder=\"0\" width=\"640\" height=\"360\" \r\n\t\t\t\tsrc=\"http:\/\/www.dailymotion.com\/embed\/video\/12345678?width=640&theme=default&foreground=%23F7FFFD&highlight=%23FFC300&background=%23171D1B&start=&animatedTitle=&iframe=1&additionalInfos=0&autoPlay=0&hideInfos=0\">\r\n\t\t\t\t<\/iframe><\/p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[thanks to Golan for hints] For embedding videos into this blog, we are using the AB Video plugin, which allows you to embed YouTube, Vimeo or Dailymotion movie clips by entering a shortcode ( \/ \/ ) into the post area. See the original site for information and instructions for AB Video. \u00a0Here&#8217;s the redux: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":111,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"coauthors":[],"class_list":["post-242","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/teach.alimomeni.net\/2012spring1\/index.php?rest_route=\/wp\/v2\/pages\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/teach.alimomeni.net\/2012spring1\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/teach.alimomeni.net\/2012spring1\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/teach.alimomeni.net\/2012spring1\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/teach.alimomeni.net\/2012spring1\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=242"}],"version-history":[{"count":2,"href":"https:\/\/teach.alimomeni.net\/2012spring1\/index.php?rest_route=\/wp\/v2\/pages\/242\/revisions"}],"predecessor-version":[{"id":245,"href":"https:\/\/teach.alimomeni.net\/2012spring1\/index.php?rest_route=\/wp\/v2\/pages\/242\/revisions\/245"}],"up":[{"embeddable":true,"href":"https:\/\/teach.alimomeni.net\/2012spring1\/index.php?rest_route=\/wp\/v2\/pages\/111"}],"wp:attachment":[{"href":"https:\/\/teach.alimomeni.net\/2012spring1\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=242"}],"wp:term":[{"taxonomy":"author","embeddable":true,"href":"https:\/\/teach.alimomeni.net\/2012spring1\/index.php?rest_route=%2Fwp%2Fv2%2Fcoauthors&post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}