path to skin contains path prefix on multilingual sites

mrfelton - April 22, 2009 - 13:22
Project:FLV Media Player
Version:6.x-1.0-beta3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

A site with 2 languages. Spanish as default with no path prefix, and English as a secondary language with the 'es/' prefix. When the player is embedded in the page, the path to the skin is correct on Spanish, non-prefixed version of the site, but when I switch over to the English version, which uses the prefix 'en', the path to the skin now also contains the prefix.

skin=http://mysite.com/sites/mysite.com/files/skins/modieus.swf
skin=http://mysite.com/en/sites/mysite.com/files/skins/modieus.swf

So, when the prefix is used, this skin is not found and the player is displayed with the default skin.

In my profile, I defined the path to the skin as http://mysite.com/sites/mysite.com/files/skins/modieus.swf (I used an absolute path)

#1

mrfelton - April 22, 2009 - 14:00
Status:active» closed

ignore that... this was actually an issue created by myself in the theming layer, where I had done this:

 
 

Drupal is a registered trademark of Dries Buytaert.