473,395 Members | 1,675 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to show player controller button

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

Expand|Select|Wrap|Line Numbers
  1.  
  2.  <object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
  3.     codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab"
  4. width="460" 
  5. height="320" 
  6. id="vlc" 
  7. events="True" 
  8. controller="True" 
  9. name="vlc">
  10.  <param name="Src" value="rtsp://localhost:5554/<?php echo $filmName?>" />
  11.  <param name="ShowDisplay" value="True" />
  12.  <param name="AutoLoop" value="False" />
  13.  <param name="AutoPlay" value="True" />
  14.  <param name="Controller" value="True" />
  15.  
  16.  <EMBED TYPE="application/x-vlc-plugin"
  17.  SRC="rtsp://localhost:5554/<?php echo $filmName?>"
  18.  SHOWDISPLAY="True"
  19.  CONTROLLER="True"
  20.  HEIGHT="320"
  21.  WIDTH="460"
  22.  NAME="vlc"
  23.  AUTOPLAY="True"
  24.  AUTOLOOP="False"
  25.  <br/>
  26.  <a href="javascript:;" onclick='document.vlc.play()'>play </a>
  27.  <a href="javascript:;" onclick='document.vlc.pause()'>pause </a>
  28.  
  29.  
  30.  /EMBED>
  31.  </object>
  32.  
Sep 21 '07 #1
2 2391
pbmods
5,821 Expert 4TB
Heya, NMA.

[CODE=php]
PHP code goes here.
[/CODE]
Sep 21 '07 #2
bergy
89
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 :(
Sep 22 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Anne M | last post by:
I have a report based on query..which is a team list with names and their role on team ie coach, assistant and player. Report is almost what I want and my knowledge is limited so I need some...
2
by: Stan | last post by:
I want to make two pages interact through a controller. 1. Page A has a grid and Add button. 2. When Add button is clicked Page B pops up. 3. User enters information and clicks Save 4....
4
by: BobAchgill | last post by:
What is the best way to show a video file directly in a Form? Can I use functions of Windows Player in a Windows Form? Functions like: play video or show visualization for music, etc.
19
by: Tony | last post by:
I'm working on project that plays movies using Windows Media Player and I'm controlling everything with JavaScript. Per the client I only need to support IE 6 or greater which happens to make...
3
by: alice | last post by:
I've been trying for a long time to figure this out, to have a page with several MP3 clips, and each one having a custom start and stop button next to them to play the track. I finally found a bit...
2
riptide2049
by: riptide2049 | last post by:
I really have a problem here. I have a code that is suppost to take the href of a link from the right class;value of a link maked toreturn false. the value is a Media file the file is sent to...
0
by: nma | last post by:
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. ...
1
by: rockva | last post by:
I am facing this problem of DIV layer going behind the quick time player in IE 7 browser. It works good in Firefox. HTML code that i am using is below. Is some IE specific code required here? Any...
1
by: josephChiaWY | last post by:
Hi all, Recently, i have met a problem in playing the selected video in the embedded quicktime player. I am creating a video gallery for people to view their .mov file on quicktime player. Below...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.