Active
Project:
FLV Media Player
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2009 at 20:24 UTC
Updated:
31 Mar 2009 at 10:31 UTC
On a site where both www.example.com and example.com works, the path to player will appear in the js (end of html) with www if the one who edited the node last uses www in the url for the site (all settings use relative paths). The problem is that this won't work if a user goes to the site not using www...and vice versa. If you just edit it with example.com/node/*/edit, video will work with non-www urls again.
Comments
Comment #1
arthurf commentedTry setting the player path to just "path/to/player.swf" Flvmediaplayer should both cache correctly and display the right one depending on URL
Comment #2
perandre commentedThat's the setting I've been using on the main setting, profile and node override; /sites/default/files/player.swf. I confirmed the issue on another network/computer. I now set up .htaccess to force non-www, and things seem smooth...
Comment #3
arthurf commentedHrm, I think the dev branch is a bit ahead of that solution. Give me a few hours to set up the migration path and then you should have a solution which doesn't require that.
Comment #4
perandre commentedThanks. Also: After truncating cahce_flvmediaplayer, I still get the old path in the beginning of the html: