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

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...
2
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...
1
by: Robertsonjay | last post by:
In mvc you separate view from controller. How do you do that in C#? Many people define an interface for a controller but isn't controller is specific to a form(gui) which all controller contains...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.