problem with isplaying() for rtp://

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
ramprasad85
Blank Cone
Blank Cone
Posts: 22
Joined: 30 Sep 2008 12:34

problem with isplaying() for rtp://

Postby ramprasad85 » 06 Nov 2008 10:47

hi
I have designed a HTML page which uses the VLC plugin

Code: Select all

<embed type="application/x-vlc-plugin" name="video1" autoplay="no" loop="yes" width="400" height="300" target="rtp://" />
after executing the "document.video1.play()" function.

I am streaming a video to my system from a system over the internet.
After clicking play it takes around 30 seconds to actually play the video.
I need to display a "Loading" animated gif till the video actually starts playing.
for that i came across a function isplaying().
the problem i am facing is that
once the play functinon has been called, this function returns true even if the video is not playing at that time.
if the play function has been called it returns true otherwise false. it does not seem to reflect the state of the rendering.
I am using latest versions of VLC, Firefox and IE.
Please tell me What is the best way to get this done.
Thank you

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 82 guests