A reader emailed me asking how I managed to "trim" the YouTube video I posted above. Actualy, I haven't trimmed it - what I've done is enter a starting and ending point. I've provided the code below for the untrimmed video and the trimmed video. Notice that in the embed code, I've inserted &start=204&end=228 after the YouTube url http://www.youtube.com/v/iGpIT2bVZDw. The 204 and 228 are seconds - so start at 3 minutes and 24 seconds and end at 3 minutes and 48 seconds. Not too bad!
Untrimmed
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/iGpIT2bVZDw&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/iGpIT2bVZDw&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>Trimmed
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/iGpIT2bVZDw&start=204&end=228" > <param value="true" name="allowFullScreen"> <embed allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/iGpIT2bVZDw&start=204&end=228" width="425" height="344"></embed> </object>
5 comments:
You rock! this is exactly what I was looking for.
Once the youtube video is uploaded, where do i go to see the code?
thanks for the info!
Lilyofthewoods.com
Very nice and easy. Thank you
I don't think this is possible anymore. It at one point it was possible, now the "end" parameter was removed. I looked it up on the youtube embed parameters list...
It doesn't really make sense that there is a "start" parameter and not an "end" one... It can be really useful.
Do you have a workaround for this? i've been searching for it like a madman.
Thanks. :)
This is awesome. Thank you. This will help me a lot.
Post a Comment