I'm developing a web application that lets to the user play multiple videos (RTP/UDP live streaming) simultaneously in the same page. One user can chose 1, 4, 9 or 16 videos a time, but i have some problems with it. Logically I have 16 ActiveX instances in my web page (that I hide or show according to the user selection).
When I close or refresh the application, the browser crash (IE and Firefox). Some times, when I invoke the playItem method, the browser crash too.
I detect that the probability that it happens is greater when some video has been played. This situation makes the application very unstable.
Maybe, 16 activeX are too activeX in a page but i dont know another way to do something similar.
This is my code for include vlc objects:
Code: Select all
<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab#Version=0,8,6,0"
id="video0"
events="True">
<param name="MRL" value="" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="False" />
<param name="Volume" value="50" />
<param name="StartTime" value="0" />
<EMBED pluginspage="http://www.videolan.org"
type="application/x-vlc-plugin"
progid="VideoLAN.VLCPlugin.2"
name="video0"
width="1" height="1">
</EMBED>
</OBJECT>
Can anybody help me?
Thanks a lot