Upgrading to emfield 6.x-1.3 broke all video playback on our website due to the new support for absolute URLS.

What should be:
mms://media.mysite.com/path/to/video.wmv

Now becomes:
http://mysite.com/en/mms%3A/%252Fmedia.mysite.com/path/to/video.wmv

To fix, I changed the first line of function theme_emvideo_zzz_custom_url_embedded_video($type, $url, $width, $height, $autoplay = FALSE, $field = NULL, $item = NULL) to:

if ($url) {

Comments

pbowyer’s picture

Version: 6.x-1.3 » 6.x-1.4
soulston’s picture

Hi,

This seems to be happening for me using emfield 6.x-1.18

My url is getting changed from what's in the database, maybe a preg match issue.

I tried replacing the line in the zzz_custom_url.inc file as you said but to no avail.

My url is:

rtmp://draco.streamingwizard.com/wizard/username/filename.flv

and gets changed to:

image=%2Fdomain.com%2F&file=rtmp%3A%2F%2Fdraco.streamingwizard.com%2Fwizard%2Fusername%2Ffilename.flv&autostart=false

when I view the source. This must be something in the theme function as it is ok in the database but gets scrambled on output

aaron’s picture

Status: Active » Needs work

hmmm... see #372094: Support for RTMP streaming server for the rmtp issue. i'll have to find a better solution for the other...

nieuwkar’s picture

Subscribing to the URL scrambling part