473,503 Members | 338 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

play(),pause(),stop() code

3 New Member
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
Mar 27 '08 #1
8 4386
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.
Mar 27 '08 #2
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).
Mar 27 '08 #3
Harati
3 New Member
I need code for play(),pause(),stop().. I tried player.controls.play() is not working..
how will i do?
Mar 28 '08 #4
vee10
141 New Member
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?
Mar 28 '08 #5
Harati
3 New Member
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="invisible">
<PARAM NAME="Autostart" VALUE="False">

</object>



<table>
<tr>
<td><img src="images/back_button.gif" onClick="javascript: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="javascript:forward()"></td>
<td><img src="images/stop_button.gif" onClick="javascript:Stop()" ></td>
<td><img src="images/mute.gif" onClick="javascript:mute()"></td>
<td><img src="images/volslide.gif" onClick="javascript:volume()"></td>
<td><img src="images/posslide.gif" onClick="javascript:volume()"></td>
</tr>
</table>[/HTML]
Mar 28 '08 #6
pronerd
392 Recognized Expert Contributor
And your questions is?
Mar 28 '08 #7
ronverdonk
4,258 Recognized Expert Specialist
Cannot see why this question could be answered in the HP forum. I will move it to the JS forum.

moderator
Mar 28 '08 #8
acoder
16,027 Recognized Expert Moderator MVP
Multiple threads merged. Please do not double/triple-post your questions.

Moderator.
Apr 1 '08 #9

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

Similar topics

1
1287
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. ...
0
2330
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:...
1
4280
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. ...
9
5587
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...
2
2259
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,...
13
4845
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,...
2
14950
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...
1
2328
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...
3
8634
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"...
0
7334
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...
1
6993
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
7462
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...
0
5579
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,...
1
5014
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...
0
3168
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...
0
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1514
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 ...
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.