Jump to content

Mod Rewrite Help - Flash Music Player


Northern Flame

Recommended Posts

I have a flash music player that plays mp3's and gets the information

from an XML file. Lets call that file mp3.xml

 

If I link to the xml file in my music player with this url:

data="http://www.mywebsite.com/media/mp3/music.swf?playlist_url=http://www.mywebsite.com/media/mp3/playlists/mp3.xml"

 

it works fine,

but if i add this code to an .htaccess file in /media/mp3/

.htaccess:

RewriteEngine on
RewriteRule ^bin/([^/\.]+)/?$ music.swf?playlist_url=http://www.mywebsite.com/media/mp3/playlists/$1.xml [L]

 

and have this in the music player code:

data="http://www.mywebsite.com/media/mp3/bin/mp3"

 

the swf file loads and I see the music player,

but the XML file does not load. Can anyone

help me get my XML file to load with my

swf player?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.