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
16
S
2
Posts: 45
Reputation: 829

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
169
S
50
G
174
Posts: 8,322
Reputation: 110,788

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
397
S
236
G
88
Posts: 24,428
Reputation: 194,570

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
16
S
2
Posts: 45
Reputation: 829


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests