Thursday, April 7, 2011

Re: [YouTube-API] Bypass Youtube controls when using TShockwaveFlash

On Wed, 2011-04-06 at 08:43 -0700, TimK wrote:
> I am making an application in Delphi 2007 and am using the
> TShockwaveFlash component to play youtube files. This works great but
> I am not able to use the components Play, Stop, Pause, GoToFrame
> Commands.

I've not used Delphi for a loooonnnggg time!

I don't know how well you know flash - but I assume that what's
happening (as you mentioned GoToFrame) is that you are expecting to
control the actual video using commands that actually control a flash
"movie" (i.e. a swf).

I doubt very much if there are multiple frames in the youtube player swf
itself (most flash devs don't build flash using the timeline).

To control the video you should hopefully be able to use the
actionscript 3 api - which is exposed to javascript when the flash is
played in a web browser, and which might be exposed to Delphi (It
depends on how they've implemented their control).

Hope that helps,

Tim Wintle


--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment