473,624 Members | 2,651 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to show player controller button

93 New Member
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 2402
pbmods
5,821 Recognized Expert Expert
Heya, NMA.

[CODE=php]
PHP code goes here.
[/CODE]
Sep 21 '07 #2
bergy
89 New Member
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
1787
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 advice. I want the team list to show the names of the individuals and their role on team if they are coach or assistant but not if they are player but since they are based on the same field (role) how do I set it so I can get it to show only what...
2
3329
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. Information is saved in database 5. User goes back to Page A which gets new data from database and displays one more row. So, the event handler for Add button on Page A might look like:
4
7829
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
19248
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 things a bit easier. What I need to do is create a playlist and play it using JavaScript. I keep on getting close but not close enough to play the dang files. Has anyone done this before and can shed some light on what worked for them?
3
2912
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 of code that does this, but it's made for only one mp3 file. I don't know enough about javascript to customize the code myself. I know there probably needs to be an "array" of some sort, but I need some help figuring out where and how that works....
2
3271
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 quicktime or windows meida player depending on which plugin was found. after the plug in is found a iframe with the right player is created. here is the code. for some reason In IE the plug in doesnt work and in fire fox it crashes <!DOCTYPE html...
0
1542
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. <object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="460" height="320"
1
2466
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 help is appreciated. <html> <head> <title>Sample Page</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <style type="text/css"> <!-- #overlay{position:absolute; left:100px; top: 100px; padding: 5px;...
1
2118
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 are parts of my code: if($ext=="mov"){ echo "<object classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width=320 height=240 standby='Data is loading...' codebase='http://www.apple.com/qtactivex/qtplugin.cab'> <param name=src...
0
8249
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8685
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8348
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7176
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2613
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1797
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1493
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.