Closed (fixed)
Project:
MediaElement
Version:
7.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2011 at 20:01 UTC
Updated:
28 Jan 2011 at 15:10 UTC
When JS compression is turned on, the path to the sites/all/libraries/mediaelement/build/flashmediaelement.swf file becomes relative to the current node path, ie http://example.com/node/123/flashmediaelement.swf
Attached is the simple fix we used however I am guessing it isn't an appropriate fix, but more of an indicator of the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| mediaelement_js_compression.patch | 581 bytes | crashtest_ |
Comments
Comment #1
dave reidObviously the solution is to fix D7's JS caching, but this is a fine work-around for now. Tested and confirmed it fixes.
Comment #2
mfer commentedThe issue is not with caching but preprocessing. MediaElement detects its path to know the path to the other assets it needs (like flash files). Once proprocessed the two paths are different. See http://git.drupalcode.org/project/mediaelement.git/commitdiff/fee9c11feb... for more details.