I am playing youtube videos with the TShockwaveFlash component in Delphi 2007.
The component has many options such as play, stop, rewind, gotoFrame, etc and they work on a normal flash file.
However if I try to use them on a youtube video it doesn’t work.
Does anyone know if this is just the case, if there is something that needs set for this to work, or if there is another way to exercise control over the playback?
To stop the video from playing you need to make use of the keyboard commands the you tube player recognizes to control the player. They are limited…
So what you can do is use
to fake a key press and get the youtube player to, in this example, pause or resume play.