I prepared my own player using php For this ,i want code for play(),pause(), stop().
I tried a lot with player.controls .play() but no use
8 4406 Markus 6,050
Recognized Expert Expert
I prepared my own player using php For this ,i want code for play(),pause(), stop().
I tried a lot with player.controls .play() but no use
This isn't the javascript forum!
Regards.
TheServant 1,168
Recognized Expert Top Contributor
I prepared my own player using php For this ,i want code for play(),pause(), stop().
I tried a lot with player.controls .play() but no use
The if statement is easy enough for php, but it must be a javascript question. Once you have the javascript code, you can come back here to get help with the php (if you need it).
I need code for play(),pause(), stop().. I tried player.controls .play() is not working..
how will i do?
Hi,
Post ur code what u have done for play()
I need code for play(),pause(), stop().. I tried player.controls .play() is not working..
how will i do?
my code is
[HTML]<script>
function play(file)
{
Player.controls .play();
}
function Stop()
{
Player.controls .stop();
}
</script>
</head>
<body>
<div id="moreUploads "></div>
<OBJECT ID="Player" height="0" width="0" CLASSID="CLSID: 6BF52A52-394A-11d3-B153-00C04F79FAA6">
<PARAM NAME="uiMode" VALUE="invisibl e">
<PARAM NAME="Autostart " VALUE="False">
</object>
<table>
<tr>
<td><img src="images/back_button.gif " onClick="javasc ript:back()" name=""></td>
<td>
<input type="image" name="play" src="images/play_button.gif " onClick="play(' <? echo $result->path;?>')"> </td>
<td><img src="images/forward_button. gif" onClick="javasc ript:forward()" ></td>
<td><img src="images/stop_button.gif " onClick="javasc ript:Stop()" ></td>
<td><img src="images/mute.gif" onClick="javasc ript:mute()"></td>
<td><img src="images/volslide.gif" onClick="javasc ript:volume()"> </td>
<td><img src="images/posslide.gif" onClick="javasc ript:volume()"> </td>
</tr>
</table>[/HTML]
pronerd 392
Recognized Expert Contributor
Cannot see why this question could be answered in the HP forum. I will move it to the JS forum.
moderator
acoder 16,027
Recognized Expert Moderator MVP
Multiple threads merged. Please do not double/triple-post your questions.
Moderator.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: cbell |
last post by:
I would like javascript file (which can be a .js file) which I can use
to play .wav files on demand. there are many pages and there will only
be ONE .wav file (about 20 seconds) for each page.
the form table to go onto the page will have graphics (not form
buttons) for:
- play/pause
- stop
- volume
>> I will design the buttons later, the form doesn't have to be fancy - it just has to work with graphic buttons.
|
by: laredotornado |
last post by:
Hello, I want to play an audio file by clicking on an audio icon and
not having the page switch out underneath. Right now the code I have
is ...
<html>
<head>
<title>Dictionary: homeostasis</title>
<link href="liveink.css" type="text/css" rel="stylesheet"/>
</head>
<body>
|
by: Ron Provost |
last post by:
Hello,
I'm developing a piece of software to assist illiteraate adults to learn to
read. I'm trying to figure out how, if possible, to make audio playback
asynchrnous but still controllable. I'm using python 2.4 with pymedia on
XP. I started out with the example in the tutorials section of the pymedia
website. The pymedia docs imply to me that playback using Output's play()
method should already be asynchronous and controllable. I...
|
by: Morris Neuman |
last post by:
Im working with VS 2005 and trying to use a Hyperlink field in a datagrid to
play a wave file that is not located in the website folders but is in a plain
folder on the same machine, windows 2003 server, WMP 10.0 .
If I type the full path in an IE address field it plays the file in WMP
When I test my Web page ( running the debugger in VS.)
The datagrid has a column called "MsgFile" with the full path to the wave
file e.g....
|
by: eSolTec, Inc. 501(c)(3) |
last post by:
Thank you in advance for any and all assistance. Is there a way to start,
pause and resume a recurrsive search exactly where you left off, say in the
registry programmatically?
--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.
| |
by: anil.rita |
last post by:
When the user chooses an AV file to play, based upon the type of file,
I want to use the default installed media player to play it.
I am wondering if this is a good way - any alternatives, suggestions or
improvements?
if( wmv file)
document.write("<OBJECT id=Player
classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 height="354"
width="479">
|
by: keeplearning |
last post by:
Hi Friends !
Please view this ANIMATION .
I want to control this animation with a play and pause button .
when clicked on play button , the animation should start playing . and
when clicked on pause button , the animation should stop on the frame on which pause button has been clicked .
Please help friends .
|
by: OBAFGKM_RNS |
last post by:
In my html, I have an embedded sound wav. I access that sound from my
javascript using Play() and Stop(). However, once stopped, the sound
will aways resume from where it left off, (making Stop behave more
like a Pause). I want it to start from the beginning.
The only way I've been able to start the sound from the beginning
every time, is to use inner.HTML to reload the embedded wav, thereby
reopening the media plugin. There is always a...
|
by: pavanip |
last post by:
Hi,
I am new to Silverlight application.I want to display video using Mediaelement tag and I used the below code to play video.
<Canvas>
<MediaElement x:Name="mPlayer" Width="640" Height="480" Source="a_video.avi"/>
<Button x:Name="bPlay" Background="Green" Width="100" Height="45" Canvas.Left="8" Canvas.Top="497" Content="Play" />
<Button x:Name="bPause" Background="Yellow" Width="100" Height="45"...
|
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...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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,...
|
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...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| | |