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

Wang, Shin-Ywan (332M) shin-ywan.wang at jpl.nasa.gov
Fri May 21 22:00:07 CEST 2010


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
-------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20100521/b2aa5564/attachment.html>


More information about the vlc mailing list