The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Player Embedding issue

5 posters

Go down

Solved Player Embedding issue

Post by thunderstriker 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
thunderstriker
New Member

Male Posts : 9
Reputation : 0
Language : English

Back to top Go down

Solved Re: Player Embedding issue

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

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

Male Posts : 1130
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 October 5th 2011, 8:22 pm

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

Male Posts : 9
Reputation : 0
Language : English

Back to top Go down

Solved Re: Player Embedding issue

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

Is this sorted?
Sanket
Sanket
ForumGuru

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

Back to top Go down

Solved Re: Player Embedding issue

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

The Should Be This

<embed
src="my sound file.mp3"
autostart="true" loop="true" hidden="true">
Mr DarkHaxers2
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 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
thunderstriker
New Member

Male Posts : 9
Reputation : 0
Language : English

Back to top Go down

Solved Re: Player Embedding issue

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

Who Cares About Height And Width This embed source is background music
Mr DarkHaxers2
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 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
Jophy
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

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