Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Problem with mp3

Asked Modified Viewed 2,001 times
J
Jauns_noobs
J
img77.imageshack.us/img77/1635/userbarlatvijav03mu8.png
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
asked
Junior Member

Hi everyone I have one little problem.. my mp3 infusion works perfect but i just wont to have one different thing!

I don't want that it starts automatic but just when my site visitors or users press play :)


<?php
/*---------------------------------------------------+
| PHPFusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }

require_once('mp3_player_config.php');

opentable("Mp3 Player");
echo"<center><embed src='".$streaming_url."' width='200' height='40'>"
  . "<noembed>"
  . "<bgsound src='".$streaming_url."'>"
  . "</noembed>";
closetable();
?>



Here is my mp3 code I hope someone could help me :) And if there is just small thing to change then don't laugh about me I'm new in this kind of field :)
0 replies

6 posts

A
afaaro
A
afaaro 10
  • Senior Member, joined since
  • Contributed 295 posts on the community forums.
  • Started 68 threads in the forums
answered
Senior Member

<?php
/*---------------------------------------------------+
| PHPFusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION"wink { header("Location:../../index.php"; exit; }

require_once('mp3_player_config.php';

opentable("Mp3 Player"wink;
echo"<center><embed src='".$streaming_url."' width='200' height='40' AUTOSTART='false' CONTROLS='all'>"
. "<noembed>"
. "<bgsound src='".$streaming_url."'>"
. "</noembed>";
closetable();
?>
Edited by afaaro on 18-03-2007 20:20,
0 replies
J
Jauns_noobs
J
img77.imageshack.us/img77/1635/userbarlatvijav03mu8.png
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

Tnx but when i put this one then in web page shows that i have a problem in line 12 :(
0 replies
A
afaaro
A
afaaro 10
  • Senior Member, joined since
  • Contributed 295 posts on the community forums.
  • Started 68 threads in the forums
answered
Senior Member

try changing to this one

if (!defined("IN_FUSION"wink) { header("Location: ../../index.php"wink; exit; }
Edited by afaaro on 18-03-2007 20:45,
0 replies
J
Jauns_noobs
J
img77.imageshack.us/img77/1635/userbarlatvijav03mu8.png
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

:(

Parse error: parse error, unexpected ';' in C:\AppServ\www\infusions\mp3_player_panel\mp3_player_panel.php on line 14
0 replies
A
afaaro
A
afaaro 10
  • Senior Member, joined since
  • Contributed 295 posts on the community forums.
  • Started 68 threads in the forums
answered
Senior Member

you missing this )

require_once('mp3_player_config.php';

change to this

require_once('mp3_player_config.php'wink;
0 replies
J
Jauns_noobs
J
img77.imageshack.us/img77/1635/userbarlatvijav03mu8.png
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

Ok now it's working but for few seconds and then again it's playing by him self :(
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 2 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet