phpBBHacks.com - MP3 on main index page
Find affordable web hosting packages at iFroggy Hosting
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> General phpBB 3 Support and Discussion
 See a User Guidelines violation? Please contact us.
Author Message

Teddy_Bear
New User

Joined: 11 Apr 2005
Posts: 14

PostPosted: July 1st 2009, 12:05 am    Post subject: MP3 on main index page Reply with quote

Just wondering if anyone knows a code that will work on the main index page of a forum to play an mp3 and do I edit the index php to achieve this? I also looked at overall header and footer but anything I tried to embed didn't seem to work. Thanks for your help
Back to top
View user's profile Send private message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: July 1st 2009, 12:49 pm    Post subject: Reply with quote

Hello Teddy_Bear,

Thanks for posting. Could you show the methods in which you were trying to embed?

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Teddy_Bear
New User

Joined: 11 Apr 2005
Posts: 14

PostPosted: July 2nd 2009, 7:17 pm    Post subject: Reply with quote

Hi Patrick

Tried a few codes.

<embed src="my mp3 url was here" autostart="true" loop="false" width="300" height="42" controller="true" bgcolor="#FF9900"></embed>

This was for a flash player:

<embed src= "http://www.odeo.com/flash/audio_player_standard_gray.swf" quality="high" width="300" height="52" allowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars= "valid_sample_rate=true&external_url=[MP3 file address]" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed>

Tried bgsound code as well, to no avail.

Thanks for your help.
Back to top
View user's profile Send private message

lumpy burgertushie
Dedicated User

Joined: 05 Apr 2008
Posts: 589

PostPosted: July 3rd 2009, 4:19 pm    Post subject: Reply with quote

try this:
Code:

<embed src="yourfilename.mp3" type="application/x-mplayer2" autostart="true" playcount="true" loop="true" height="0" width="0">


put this in the index_body.html page at the very top.
it should play in FF and IE both.

be sure to edit to reflect your mp3 file name.

this will start automatically and loop for infinity but only while you are on the index page.

robert
_________________
here is my sig file.......
Back to top
View user's profile Send private message

Teddy_Bear
New User

Joined: 11 Apr 2005
Posts: 14

PostPosted: July 3rd 2009, 10:34 pm    Post subject: Reply with quote

lumpy burgertushie wrote:
try this:
Code:

<embed src="yourfilename.mp3" type="application/x-mplayer2" autostart="true" playcount="true" loop="true" height="0" width="0">


put this in the index_body.html page at the very top.
it should play in FF and IE both.

be sure to edit to reflect your mp3 file name.

this will start automatically and loop for infinity but only while you are on the index page.

robert


Thanks for your help Robert. It still didn't work for me. I put the code at the top of index_body.html also tried it in the overall header and footer.
Back to top
View user's profile Send private message

lumpy burgertushie
Dedicated User

Joined: 05 Apr 2008
Posts: 589

PostPosted: July 4th 2009, 9:27 am    Post subject: Reply with quote

can you give me alink to wherever you are trying this please.


I tested this on my test board and it works just fine.


robert
_________________
here is my sig file.......
Back to top
View user's profile Send private message

Teddy_Bear
New User

Joined: 11 Apr 2005
Posts: 14

PostPosted: July 7th 2009, 11:04 pm    Post subject: Reply with quote

Thanks guys, I got it working
Back to top
View user's profile Send private message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: July 9th 2009, 11:32 am    Post subject: Reply with quote

Glad to hear. Our pleasure.

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> General phpBB 3 Support and Discussion All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.