Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Custom Start/End Times for Embedded YouTube Videos

Custom Start/End Times for Embedded YouTube Videos
Thread Tools
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Sep 8, 2007, 06:12 PM
 
I would like to be able to specify a time for a YouTube video embedded into a webpage to start and stop as a way of offering just an excerpt instead of the whole thing. My code looks a lot like this:
Code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/[youtuberef]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/[youtuberef]" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
It would be great if there were something like a passed variable that could do this (e.g., "&starttime=002105&endtime=002235") or some kind of attribute for the <param> or <embed> tag like starttime="002235" or something.
Is this doable? I know I could download the whole thing, chop it up, and offer the result, but I do not want to use that approach for a number of reasons. Instead, I want to just refer to a portion of something hosted on YouTube.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Sep 8, 2007, 06:46 PM
 
I don't think it's possible. It seems like YouTube would have to put it into their Flash applet, and I've never seen it done.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Sep 8, 2007, 06:48 PM
 
Originally Posted by Chuckit View Post
I don't think it's possible. It seems like YouTube would have to put it into their Flash applet, and I've never seen it done.
Darn. So I'm stuck d/l-ing the whole thing, chopping it up, and re-uploading it to my webserver? What a drag.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:32 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2