Video plugin: External video source only works on mobile

Bugs will be moved here once resolved.

Post » Thu Nov 10, 2016 4:56 pm

Problem Description
In the "Set source" action in the Video plugin I want to use an external URL to a .mp4 video file. The file sits on my own server with CORS headers. When I preview on my mobile phone, it works - I can play the video. But the same preview on desktop gives this console error:

video_plugin.js:113 Uncaught (in promise) DOMException: The element has no supported sources.

Operating System and browser
I am testing in Chrome on Windows10. And in Chrome on iOS.

Construct 2 Version ID
Version 239.
B
14
S
2
Posts: 44
Reputation: 777

Post » Thu Nov 10, 2016 6:01 pm

It's most likely a browser issue, and perhaps Ashley can make a work around.
That is, if you make a capx that reproduces the issue.
Image ImageImage
B
168
S
50
G
163
Posts: 8,221
Reputation: 105,061

Post » Thu Nov 10, 2016 6:18 pm

Closing, please see the bug report requirements, and note this is most likely to do with supported codecs in the browser you test, rather than a bug or anything mobile-specific.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Sat Nov 12, 2016 6:09 pm

It's not a codec issue. If I include the excact same .mp4-file in the project, it plays fine on desctop.
B
14
S
2
Posts: 44
Reputation: 777


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests