The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Player Embedding issue

View previous topic View next topic Go down

Solved Player Embedding issue

Post by thunderstriker on September 29th 2011, 11:49 pm

I am trying to create a music player for my site, but I cannot get the mp3 file to play.

Here is the code I currently have for the player:

<body>
<embed src = "(my sound file).mp3" autostart = "true" loop="true" width = "400" height = "30"/>
</body>

What's wrong?


Last edited by thunderstriker on October 7th 2011, 10:34 pm; edited 1 time in total

thunderstriker
New Member

Male Posts : 9
Reputation : 0
Language : English

Back to top Go down

Solved Re: Player Embedding issue

Post by musket on September 30th 2011, 12:05 am

Have you uploaded your sound file to host?... then got the URL of the file to embed

musket
Helper
Helper

Male Posts : 1129
Reputation : 131
Language : English
Location : Northern Ireland

http://hemmingsdaman2.forumotion.co.uk/

Back to top Go down

Solved Re: Player Embedding issue

Post by thunderstriker on October 5th 2011, 8:22 pm

Ah, that's probably it. Not 100% sure yet tho...

thunderstriker
New Member

Male Posts : 9
Reputation : 0
Language : English

Back to top Go down

Solved Re: Player Embedding issue

Post by Sanket on October 6th 2011, 6:32 am

Is this sorted?

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Player Embedding issue

Post by Mr DarkHaxers2 on October 6th 2011, 6:34 am

The Should Be This

<embed
src="my sound file.mp3"
autostart="true" loop="true" hidden="true">

Mr DarkHaxers2
Forumember

Male Posts : 409
Reputation : -17
Language : English
Location : Modesto,Cali

Back to top Go down

Solved Re: Player Embedding issue

Post by thunderstriker on October 7th 2011, 10:33 pm

The hosting issue was the problem. It now plays. Thanks.

BTW Badhaxers2, I'm taking a college-level programming class, plus I've check the Admin's tutorial. My code was correct but it still wouldn't play, that's why I asked.

However, your code will not work, you have not specified a height and width, you haven't properly closed your "embed" tag, and you have no "body" tags to nest them in.

Learn more about programming before you start telling people that they didn't do something right.

thunderstriker
New Member

Male Posts : 9
Reputation : 0
Language : English

Back to top Go down

Solved Re: Player Embedding issue

Post by Mr DarkHaxers2 on October 8th 2011, 12:24 am

Who Cares About Height And Width This embed source is background music

Mr DarkHaxers2
Forumember

Male Posts : 409
Reputation : -17
Language : English
Location : Modesto,Cali

Back to top Go down

Solved Re: Player Embedding issue

Post by Jophy on October 8th 2011, 2:37 am

I will not tolerate members flaming towards each other here on the support forum, please avoid that here or else you'll both get a warning.

Solved

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum