Welcome to TalkGraphics.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    5

    Default playing five of my mp3 songs on a web page

    I have five songs that I would like the user to play on my web page

    I have tried and tried but cannot get this to work.

    I create a button
    then go to web properties. then insert the widget code in the placeholder.
    as follows;

    first i put the shockwave file in the directory

    xspf_player_slim.swf

    then i add this code to the placeholder part of the button


    <object type="application/x-shockwave-flash" width="400" height="170"
    data="xspf_player.swf?playlist_url=test.xspf">
    <param name="movie" value="xspf_player.swf?playlist_url=test.xspf" />
    </object>

    I upload the playlist file

    test.xspf

    the code is below

    <?xml version="1.0" encoding="UTF-8"?>
    <playlist version="1" xmlns = "http://xspf.org/ns/0/">
    <title>My Band Rocks Your Socks</title>
    <trackList>
    <track>
    <location>ronssong1.mp3</location>
    <image>songaimage.jpg</image>
    <title>rons song A</title>
    </track>
    <track>
    <location>charades.mp3</location>
    <title>rons Song B</title>
    </track>
    <track>
    <location>c.mp3</location>
    <title>Name Of Song C</title>
    </track>
    <track>
    <location>d.mp3</location>
    <title>Name Of Song D</title>
    </track>
    </trackList>
    </playlist>


    5. Upload the playlist file, test.xspf, to your website as you would any other file.

    I am trying to get this to work

    what am I doing wrong

  2. #2
    Join Date
    May 2009
    Posts
    5

    Default how to put an mp3 player on the page using web designer

    Is there and easier way to put a list of mp3 files on a web page and click them to play them

    I might be making this more complicated than it needs to be.

    Thanks in advance for the help

    Ron

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •