0 Favourites

Video doesn't work in exported HTML 5 game

  • 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

    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


  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Good catch - if the server is case-sensitive then the video path can mismatch. Should be fixed in the next build, thanks.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)