By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,310 Members | 1,466 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,310 IT Pros & Developers. It's quick & easy.

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

P: 3
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
Share this Question
Share on Google+
8 Replies


Markus
Expert 5K+
P: 6,050
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
Expert 100+
P: 1,168
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

P: 3
I need code for play(),pause(),stop().. I tried player.controls.play() is not working..
how will i do?
Mar 28 '08 #4

100+
P: 141
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

P: 3
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

Expert 100+
P: 392
And your questions is?
Mar 28 '08 #7

ronverdonk
Expert 2.5K+
P: 4,258
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
Expert Mod 15k+
P: 16,027
Multiple threads merged. Please do not double/triple-post your questions.

Moderator.
Apr 1 '08 #9

Post your reply

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