[vlc] VLC Plugin funcitons don't work for VLC embedded in HTML page

gonzague gonzagueddr at gmail.com
Mon May 24 07:08:09 CEST 2010


Hi, i think this documentation is more updated : 
http://wiki.videolan.org/Documentation:WebPlugin

Regards



Wang, Shin-Ywan (332M) a écrit :
>
> Hi
>
> I just follow the instruction to create a html file as the example 
> shown in chap 4 (http://www.videolan.org/doc/play-howto/en/ch04.html) .
>
> Here is the file I created
>
> ===============================================================
>
> <html>
>
> <head><title>Demo of VLC mozilla plugin</title></head>
>
> <body>
>
> <h1>Demo of VLC mozilla plugin - Example 1</h1>
>
> <embed type="application/x-vlc-plugin"
>
> pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
>
> id="video1"
>
> autoplay="yes" loop="yes" width="400" height="300"
>
> src="c:/wwhome/cindy/Art.wmv">
>
> </embed>
>
> <br>
>
> <a href="javascript:;" 
> onclick='document.getElementById("video1").play()'>play video1</a>
>
> <a href="javascript:;" 
> onclick='document.getElementById("video1").pause()'>Pause video1</a>
>
> <a href="javascript:;" 
> onclick='document.getElementById("video1").stop()'>Stop video1</a>
>
> <a href="javascript:;" 
> onclick='document.getElementById("video1").fullscreen()'>Fullscreen</a>
>
> </body>
>
> </html>
>
> ===================================================================================
>
> As I opened the file from Firefox, a VLC window is displayed and the 
> movie is played. However as I press the keys below the VLC screen 
> which are labeled “Play video1”, “Pause video1”, “Stop video1” and 
> “Fullscreen”, none of them work. Does that mean the vlc plugin is not 
> working? Please give me some ideas what would be the possible reasons, 
> and what items I should check?
>
> My machine: PC with Windows 7
>
> I checked “Install Firefox Plugin" when I installed VLC.
>
> I use VLC media player 1.0.5
>
> Thanks
>
> Cindy Wang
>
> -------------
>
> ------------------------------------------------------------------------
>
> ______________________________________________________
> vlc mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc
>   





More information about the vlc mailing list