Jump to content

[Solved] Enabling Friendly URL makes mp3 player not to be loaded in Product specific page.


Recommended Posts

Hi all,

I have recently turned on Friendly URL in the back office. But now my mp3 player on product pages do not work (not loaded at all). My PS is 1.3.3.

I plan to sell mp3 songs and have a flash mp3 player for sample playing (i insert the player through back end whenever i need. It's not hard-coded with the theme). Before i enable Friendly URL, it was working without any issue.

Now, after enabling Friendly URL, the player works only in Product Category pages, but it is not loaded in specific Product pages. When i turn off Friendly URL it is loaded again on the page.

Why it works in category pages while it has problem in Product specific page?

Any hint?

Thanks a lot

34642_jCerZsn5umj4tpChqX9Z_t

Link to comment
Share on other sites

My mp3 player, playlist.xml and mp3 sit in root folder. Then i put the following code in product description through admin end.


<object id="dewplayer" width="246" height="240" data="dewplayer-playlist.swf" type="application/x-shockwave-flash">


</object>

Link to comment
Share on other sites

Yep, it's a relative URL. Try the following:


<object id="dewplayer" width="246" height="240" data="/dewplayer-playlist.swf" type="application/x-shockwave-flash">


</object>



Adding the slash will make it look for dewplayer-playlist.swf in the root directory instead of the current directory.

Link to comment
Share on other sites

wow, fantastic! Now the page loads the flash player. That's really great. But i'm sorry for asking further one more thing, now the player says that there's XML error and doesnt load songs. I believe it's a playlist.xml error. I have tried to move the playlist.xml from a subdirectory to the root folder. Still no change. How can i bring the songs back to the player?

I'm very glad that the site now loads the player at least!

Link to comment
Share on other sites

Thank you very much. When i checked the playlist.xml file, i discovered that my mp3 tracks had also relative URLs. I changed them to absolute ones and now Everything is going fine.

Thank you again for your help during this confusion. I now know the importance of absolute URL in this kind of cases.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...