problem with isplaying() for rtp://
Posted: 06 Nov 2008 10:47
hi
I have designed a HTML page which uses the VLC plugin
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
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://" />
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