www.webdeveloper.com
Results 1 to 4 of 4

Thread: Flash player wont load my playlist

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Posts
    11

    Flash player wont load my playlist

    I have a flash player on my site embedded with swfobject. It has always worked just fine but now the player says 'error loading mp3' for every single mp3.

    head:
    Code:
           <script src="http://www.doneljortolian.com/mp3plyr/swfobject/swfobject.js" type="text/javascript">
            </script>
            <script type="text/javascript">
               swfobject.registerObject("player", "9.0.0", "http://www.doneljortolian.com/mp3plyr/swfobject/expressInstall.swf");
            </script>
    player:
    Code:
               <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
                  <param name="movie" value="http://www.doneljortolian.com/mp3plyr/ep_player.swf" />
                  <param name="flashvars" 
    
    value="skin=http://www.doneljortolian.com/mp3plyr/skins/micro_player/skin.xml&amp;playlist=http://www.doneljortolian.com/playlist.xml&amp;autopl
    
    ay=true&amp;shuffle=true&amp;buffertime=1" />
                  <!--[if !IE]>-->
                     <object type="application/x-shockwave-flash" data="http://www.doneljortolian.com/mp3plyr/ep_player.swf" width="301" height="16">
                        <param name="flashvars" 
    
    value="skin=http://www.doneljortolian.com/mp3plyr/skins/micro_player/skin.xml&amp;playlist=http://www.doneljortolian.com/playlist.xml&amp;autopl
    
    ay=true&amp;shuffle=true&amp;buffertime=1" />
                  <!--<![endif]-->
                  <a href="http://www.adobe.com/go/getflashplayer" rel="external">
                     <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                  </a>
                  <!--[if !IE]>-->
                     </object>
                  <!--<![endif]-->
               </object>
    playlist:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <playlist version="1" xmlns = "http://xspf.org/ns/0/">
      <trackList>
      
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/150proof.mp3</location>
          <title>150 proof feat. billion dollah bill & compton</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/bethere.mp3</location>
          <title>be there</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/dayton.mp3</location>
          <title>dayton</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/oneday.mp3</location>
          <title>one day</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/sec0nd2none.mp3</location>
          <title>sec0nd.2none</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
           <location>http://www.doneljortolian.com/sounds/songs/thesedeamons.mp3</location>
          <title>these deamons</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/wonderimagine.mp3</location>
          <title>wonder & imagine feat. j boze</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/adayatatime.mp3</location>
          <title>a day at a time feat. g child</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/inmymind.mp3</location>
          <title>in my mind</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/iwont.mp3</location>
          <title>i won't</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/adoginme.mp3</location>
          <title>a dog in me</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/renovationofsociety.mp3</location>
          <title>renovation of society</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/somebodystolemyweed.mp3</location>
          <title>somebody stole my weed feat. crimson & j boze</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/kill.mp3</location>
          <title>kill</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/imrich*****.mp3</location>
          <title>i'm rich, ***** feat. j boze</title>
          <creator>don el jortolian</creator>
        </track>
    
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/feelinhigh.mp3</location>
          <title>feelin' high</title>
          <creator>don el jortolian</creator>
        </track>
        
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/neverflee.mp3</location>
          <title>never flee</title>
          <creator>don el jortolian</creator>
        </track>
        
        <track>
          <location>http://www.doneljortolian.com/sounds/songs/getlomein.mp3</location>
          <title>get lo mein</title>
          <creator>don el jortolian</creator>
        </track>
        
      </trackList>
    </playlist>

  2. #2
    Join Date
    Jan 2009
    Posts
    3,346
    Are you loading the MP3s from the same domain or a different one? If it is a different one does the crossdomain.xml file allow access from the domain your swf is being hosted on?

  3. #3
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    The first 3 of your songs come up as "file not found" at these addresses:
    http://www.doneljortolian.com/sounds/songs/150proof.mp3
    http://www.doneljortolian.com/sounds/songs/bethere.mp3
    http://www.doneljortolian.com/sounds/songs/dayton.mp3
    Then I stopped checking...
    Until you find and/or directly download those files, the playlist will never work.
    So load up your FTP software and find out where those files went.
    Good luck,
    Eye for Video
    www.cidigitalmedia.com

  4. #4
    Join Date
    Dec 2009
    Posts
    11
    Eye for, thank you so much. I didn't think to check the address of the files in a browser. If I had, I would've noticed that when i recently switched web hosts, the new "sounds" folder was inadvertently spelled with a capitol S while all my code points to lower case. LMAO. Thank you all for your your suggestions. Issue resolved.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles