Active
Project:
Embedded Media Field
Version:
6.x-1.x-dev
Component:
Embedded Video Field
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2009 at 08:05 UTC
Updated:
10 Mar 2011 at 10:18 UTC
Jump to comment: Most recent
Comments
Comment #1
aaron commentedcommited, thanks @davidwhthomas! (i didn't test myself against i18n, so please re-open if it's still an issue...)
Comment #3
alex ua commentedI'm reopening this, as it seems to have caused this issue: #920722: Custom URL Emvideo Path Error
Comment #4
Anonymous (not verified) commentedI also seem to have this problem, or a variant.
It worked fine in 6.x-1.18 with the custom video path set to sites/default/files/uploads/common/downloads/example.flv (Forgive my tortuous file structure.)
Looking at the Net trace in Firebug this fetches http://www.letchwortharts.org/sites/default/files/uploads/common/downloa... directly and happily runs the video.
In 6.x-1.25 the same path is instead translated to http://freevideocoding.com/sites/default/files/uploads/common/downloads/... which of course does not exist.
I see that there is code in zzz_custom_url.inc which can prefix the path (after some processing I don't understand) with http://freevideocoding.com/flvplayer.swf?file= but I don't see how that can be generating the call logged above.
Any help welcome.
Regards, Tony.
Comment #5
Anonymous (not verified) commentedA bit more (should have looked closer last time) ...
The effect above is because the source of the page is being rendered as:
in v1.18: src="http://freevideocoding.com/flvplayer.swf?file=http://test.letchwortharts..."
in later versions: src="http://freevideocoding.com/flvplayer.swf?file=sites/default/files/upload..."
The original URL entered in the page is "sites/default/files/uploads/common/downloads/loushotter.flv", so somewehere the processing of this to an absolute format has been lost after v1.18.
Tony
Comment #6
ball.in.th commentedI just ran into a similar problem in 6.x-1.26 -- video urls have a '/' in front of the http://. Comment out $url = $base_path.$url (line 125), as in http://drupal.org/node/920722#comment-3525864 , fixed my problem.