I have an intranet site with over 200 html pages to manage my music and video (over 1200 files). I am using vlc plugin to be able to read the music or the videos (mp3, mp4, flv, avi, vob, video_ts).
It works well on PC with IE, Firefox and Google chrome. It works also with unix mandriva and firefox.
With Mac os X, using Safari or Firefox, it works but I have the problem that when I move from one page to another, the plugin on the former page does not shut off.
So when I open another page, I have another plugins etc... I need to shut off the browser to get rid of the plugin. I am frustrated !
To be precise if I open another window I have no problem but if I open another page in the same window or in another tab I have the problem.
Something is wrong with the way Mac is handling the VLC plugin. It looks like as if, with Mac, the plugin would be attached to the browser and not to the HTML page. So if you open another page
containing the plugin, you generate another instance of the object plugin.
I have update the code to generate the plugin but the problem remains :
<SCRIPT type="text/javascript">
if(-1 != navigator.userAgent.indexOf("MSIE"))
document.write('<OBJECT id="vlc1" width="480" height="400" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"><PARAM NAME="autoplay" VALUE=false></OBJECT>');
else document.write('<EMBED id="vlc1" width="480" height="400" type="application/x-vlc-plugin" autoplay = "no"></EMBED>');
</SCRIPT>
What is wrong with Mac ? If anyone has an idea to fix the problem, I will appreciate.
Many thanks in advance
Jean