Hi,

If you use the Custom URL provider to link to a flash video, it doesn't work because the applet expects an absolute path to the video file. This patch uses $base_url to insert it automatically.

Enjoy!
--Andrew

CommentFileSizeAuthor
absolute_flv_url.patch1.37 KBdeviantintegral

Comments

math_1048’s picture

Hi dear deviantintegral
thank you for your patch
I apply the patch but the custom url still not fount
the module add [/content] as the following url
http://mydomain.com/content/url/to/video/file so the file does not exist
please help me to fix this issue
thank you very much
and best regards

sammys’s picture

Yeah I've found this to be the case as well. However, the fix provided by @deviantintegral may not be the best way to go about it. The Custom URL provider (and I believe the whole of emfield because it's implemented in the API and not in the provider) will strip the $base_url component. Instead, I suggest preceding the drupal path with a slash '/' character. Since I'm not the maintainer I can't change the status of this issue to anything.

robloach’s picture

Status: Needs review » Needs work

Yeah, if you use the global URL here, items that reference stuff outside the domain will break.

NLMA’s picture

I'm not a dev. but might this be the reason why I don't see the 1Pixelout player when pasting in url's to mp3 files on a different server?