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.
The forum of the forums
5 posters

    Player Embedding issue

    thunderstriker
    thunderstriker
    New Member


    Male Posts : 9
    Reputation : 0
    Language : English

    Solved Player Embedding issue

    Post by thunderstriker September 30th 2011, 1:49 am

    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 8th 2011, 12:34 am; edited 1 time in total
    musket
    musket
    Helper
    Helper


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

    Solved Re: Player Embedding issue

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

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


    Male Posts : 9
    Reputation : 0
    Language : English

    Solved Re: Player Embedding issue

    Post by thunderstriker October 5th 2011, 10:22 pm

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


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

    Solved Re: Player Embedding issue

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

    Is this sorted?
    Mr DarkHaxers2
    Mr DarkHaxers2
    Forumember


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

    Solved Re: Player Embedding issue

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

    The Should Be This

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


    Male Posts : 9
    Reputation : 0
    Language : English

    Solved Re: Player Embedding issue

    Post by thunderstriker October 8th 2011, 12:33 am

    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.
    Mr DarkHaxers2
    Mr DarkHaxers2
    Forumember


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

    Solved Re: Player Embedding issue

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

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


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

    Solved Re: Player Embedding issue

    Post by Jophy October 8th 2011, 4: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

      Current date/time is September 22nd 2024, 8:19 pm