Vel Straty Posted June 30, 2005 Share Posted June 30, 2005 I have a little prob. that I cannot resolve for,If like the following, then it plays on the WMP.<EMBED src="01 name.mp3" autostart="true">But if like the following, then WMP appears but cannot play the mp3 file.<EMBED src="01%20name.mp3" autostart="true">Since, if I want to play it over the network(intranet) it has the %20 mark added.Also, I have a javascript script that handles the file names so this %20 stuff passes through the script.Is there a work around for it other than to not add a space in the file name? Link to comment Share on other sites More sharing options...
Vel Straty Posted July 1, 2005 Author Share Posted July 1, 2005 I figured it out my way.if (thisLink.match(/%20/i)){ s = new String(thisLink); sOld = s; s = s.replace(/%20/g," "); } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now