{"id":1681,"date":"2011-04-07T02:21:03","date_gmt":"2011-04-06T19:21:03","guid":{"rendered":"http:\/\/www.jfdesignnet.com\/?p=1681"},"modified":"2011-04-07T02:21:03","modified_gmt":"2011-04-06T19:21:03","slug":"point-embedded-youtube-video","status":"publish","type":"post","link":"https:\/\/www.jfdesignnet.com\/?p=1681","title":{"rendered":"pinpoint embedded youtube video to start at certain time"},"content":{"rendered":"<p style=\"text-align: justify;\">Kinda need some way to pointing an embedded youtube video at a particular minute or second so I can take the video straight to where I want to refering to. This is very useful especially at times I want to show a certain part of the video on the forums post. Googling it, found this trick on some blog refering google video and write down here as my note &#8230;<\/p>\n<p>The short version direct link to video is looks like this :<\/p>\n<pre class=\"brush:plain\">http:\/\/www.youtube.com\/watch?v=7gormVRwcl0#t=6m52s<\/pre>\n<p>Notice the \u201c#t=6m52s\u201d on the end of the url? That link will take you 6 minutes and 52 seconds into that video. See? That link takes you straight to certain part of the video when JJ said :<\/p>\n<p><em>I&#8217;m thankful for my years spent with this family, for everything we  shared, every chance we had to grow. I&#8217;ll take the best of them with me  and lead by their example wherever I go. A friend told me to be honest  with you, so here it goes. This isn&#8217;t what I want, but I&#8217;ll take the  high road. Maybe it&#8217;s because I look at everything as a lesson, or  because I don&#8217;t want to walk around angry, or maybe it&#8217;s because I  finally understand. There are things we don&#8217;t want to happen, but have  to accept. Things we don&#8217;t want to know, but have to learn. And people  we can&#8217;t live without, but have to let go.<\/em><\/p>\n<p>Now, what about embedded video?<br \/>\nTo do it on an embedded video, use the \u201cstart\u201d parameter. Note that start takes seconds as a parameter, not minutes and seconds. For example, to start an embedded video 6 minutes and 52 seconds into a video, 6*60+52 = 412 seconds, so you would use this code:<\/p>\n<pre class=\"brush:php\">&lt;object width=\"640\" height=\"390\"&gt;&lt;param name=\"movie\" value=\"http:\n\/\/www.youtube.com\/v\/-XJ6pcLIeJo?fs=1&amp;hl=en_US&amp;start=412\"&gt;\n&lt;\/param&gt;&lt;param name=\"allowFullScreen\" value=\"true\"&gt;&lt;\/param&gt;\n&lt;param name=\"allowscriptaccess\" value=\"always\"&gt;&lt;\/param&gt;\n&lt;embed src=\"http:\/\/www.youtube.com\/v\/-XJ6pcLIeJo?fs=1&amp;hl=\nen_US&amp;start=412\" type=\"application\/x-shockwave-flash\"\nallowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"640\"\nheight=\"390\"&gt;&lt;\/embed&gt;&lt;\/object&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>and it would look like this :<\/p>\n<p><object width=\"604\" height=\"384\"><param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/-XJ6pcLIeJo?fs=1&amp;hl=en_US&amp;start=412\" \/><param name=\"allowFullScreen\" value=\"true\" \/><param name=\"allowscriptaccess\" value=\"always\" \/><embed type=\"application\/x-shockwave-flash\" width=\"604\" height=\"384\" src=\"http:\/\/www.youtube.com\/v\/-XJ6pcLIeJo?fs=1&amp;hl=en_US&amp;start=412\" allowscriptaccess=\"always\" allowfullscreen=\"true\"><\/embed><\/object><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\">Yeah, I know \ud83d\ude42 right after playing that video the question come into mind, what about start and stop parameter? So I could highlight just the part of a video that I cared about \ud83d\ude42<br \/>\nI don&#8217;t know the answer and worst is too lazy to search more \ud83d\ude42 &#8230; somehow I realize that some codec (especially mpeg) have difficulties to start at exact frame number because the way the codec is encoded. I agree that would be nice but I think I&#8217;ll passed on that.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Edit :<\/strong><\/span><br \/>\nI found some nice site that can do that, see this : splicd.com<br \/>\nBassicaly that site let\u2019s you enter a YouTube URL, a start and a stop time, and then it generates a unique link for you to a \u2018chopped\u2019 version of the video.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"text-decoration: underline;\"><strong>Note :<\/strong><\/span><br \/>\nToo bad this doesn\u2019t work for people using oembed since youtube doesn&#8217;t passed the # bit along to the oembed URL, which returned the proper start parameter\u2026 any hint ?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kinda need some way to pointing an embedded youtube video at a particular minute or second so I can take the video straight to where I want to refering to. This is very useful especially at times I want to show a certain part of the video on the forums post. Googling it, found this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1709,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[87,169,265],"_links":{"self":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/posts\/1681"}],"collection":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1681"}],"version-history":[{"count":0,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/posts\/1681\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/media\/1709"}],"wp:attachment":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}