How to show player controller button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nma
    New Member
    • Aug 2007
    • 93

    How to show player controller button

    Hi
    Hoe to show the controller button like play, pause, etc?
    this is my code. I;m using vlc player. It can play the video but no control button appear. I'm using ifame to display the player.

    [code=php]

    <object classid="clsid: 9BE31822-FDAD-461B-AD51-BE1D1C159921"
    codebase="http://downloads.video lan.org/pub/videolan/vlc/latest/win32/axvlc.cab"
    width="460"
    height="320"
    id="vlc"
    events="True"
    controller="Tru e"
    name="vlc">
    <param name="Src" value="rtsp://localhost:5554/<?php echo $filmName?>" />
    <param name="ShowDispl ay" value="True" />
    <param name="AutoLoop" value="False" />
    <param name="AutoPlay" value="True" />
    <param name="Controlle r" value="True" />

    <EMBED TYPE="applicati on/x-vlc-plugin"
    SRC="rtsp://localhost:5554/<?php echo $filmName?>"
    SHOWDISPLAY="Tr ue"
    CONTROLLER="Tru e"
    HEIGHT="320"
    WIDTH="460"
    NAME="vlc"
    AUTOPLAY="True"
    AUTOLOOP="False "
    <br/>
    <a href="javascrip t:;" onclick='docume nt.vlc.play()'> play </a>
    <a href="javascrip t:;" onclick='docume nt.vlc.pause()' >pause </a>


    /EMBED>
    </object>
    [/code]
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, NMA.

    &#91;CODE=ph p]
    PHP code goes here.
    &#91;/CODE]

    Comment

    • bergy
      New Member
      • Mar 2007
      • 89

      #3
      I have never used that specific media player before, but I don't really think that it has anything to do with PHP, which is probably why no one has responded. Try posting in the HTML / CSS or Javascript forum. Sorry I couldn't be more helpful :(

      Comment

      Working...