Monday, December 08, 2008

How to Trim YouTube Video

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 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!

<object width="425" height="344"><param name="movie" value=""></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

<object width="425" height="344"><param name="movie" value="" > <param value="true" name="allowFullScreen"> <embed allowfullscreen="true" type="application/x-shockwave-flash" src="" width="425" height="344"></embed> </object>


Anonymous said...

You rock! this is exactly what I was looking for.

Anonymous said...

Once the youtube video is uploaded, where do i go to see the code?

thanks for the info!

Unknown said...

Very nice and easy. Thank you

Anonymous said...

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. :)

Anonymous said...

This is awesome. Thank you. This will help me a lot.


Related Posts Plugin for WordPress, Blogger...