I am using the latest versions of the Media module, JW Player module, and Media:Dailymotion.
When I create a new entity, I provide a URL for the video (e.g. http://www.dailymotion.com/video/xh5olh_discover-the-desert-of-wadi-rum-...)
The thumbnail is created without issue, but when I try to play it through JW Player, I get the following error:
The video could not be loaded, either because the server or network failed or because the format is not supported: http://www.dailymotion.com/video?video_id=xh5olh
What's odd to me is that the URL has somehow changed from the URL that I supplied to one that does not contain a video. I can't figure out why that would be the case. Obviously, the video does not play.
This may be related to #1313376: Video not playing, but I'm not sure.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | media_dailymotion-1322112-2.patch | 481 bytes | semiaddict |
Comments
Comment #1
semiaddict commentedI'm getting the same issue.
When I call file_create_url on the uri "dailymotion://video_id/x8e2xt" I get the following result:
http://www.dailymotion.com/video?video_id=x8e2xt
The expected result would be http://www.dailymotion.com/video/x8e2xt
I can't seem to figure out where this url is being created.
Comment #2
semiaddict commentedAfter comparing with the media_vimeo module it seems the function interpolateUrl is missing in the stream wrapper.
Attached is a patch that seems to fix this.
Comment #3
marvil07 commentedSorry for the big delay here, change added to upstream, will be releasing a new version really soon.