views:

48

answers:

1

Hi,

Using JavaScript how can i control external FLV live audio/video (radio) stream.

I have URL say BBC Radio, which when entered in address bar of browser display its own FLV player.

I need to control this live stream to be play,pause,increase/decrease volume using JavaScript.

The JavaScript should be universal in the sense that, for any FLV player above functions are applicable.

Is it possible to do so using JS?

Please guide me.

FYI: I am using PHP,MYSQL and APACHE

A: 

Much like an class exposes public methods to other parts of an application, a flash element must explicitly expose methods to JavaScript via the ExternalInterface API. See here, here and here.

Justin Johnson
Hi Justin,Thanks for prompt reply. As I am newbie to ExternalInterface API. Below is the URL which gives me their own FLV player. Now how can i determine the FLV player exposes any JS? Please guide me. http://player.streamtheworld.com/_players/entercom/player/?id=WJMH
Asif
Is this a proprietary solution? I don't see any documentation. Find it and you should have your answer.
Justin Johnson