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: http://i.imgur.com/dhvpIUT.jpg
This suggests the HTML 5 export writes the wrong path for the video?

Attach a Capx
https://drive.google.com/file/d/0B1n4Fd ... sp=sharing

Exported website: http://www.tinimations.net/video_test/

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
  • http://i.imgur.com/dhvpIUT.jpg Checking console also reveals it can't find the video

Observed Result
video doesn't play with console showing error. http://i.imgur.com/dhvpIUT.jpg

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
221
B
33
S
10
Posts: 376
Reputation: 3,193

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
B
397
S
236
G
88
Posts: 24,408
Reputation: 194,506


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests