Video doesn't work in exported HTML 5 game

Bugs will be moved here once resolved.

Post » Fri Feb 12, 2016 9:56 am

Problem Description
So I have a problem with videos playing just fine in preview and NWjs expiort, but not working at all after a HTML 5 export.
When I look in the console, I get this:
This suggests the HTML 5 export writes the wrong path for the video?

Attach a Capx ... sp=sharing

Exported website:

Description of Capx
Contains a video which is set to autoplay. Just preview the project and see the video play just fine in browser.

Steps to Reproduce Bug
  • Open the capx and preview, see how the video plays
  • Go to the website and see how nothing happens
  • Checking console also reveals it can't find the video

Observed Result
video doesn't play with console showing error.

Expected Result
Video should play in both preview and export

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
windows 7 service pack 1

Construct 2 Version ID
Posts: 393
Reputation: 3,393

Post » Fri Feb 12, 2016 3:46 pm

Good catch - if the server is case-sensitive then the video path can mismatch. Should be fixed in the next build, thanks.
Scirra Founder
Posts: 25,073
Reputation: 199,682

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests