Put the HTML version of the game on internet

  • #1, by dorothee-rascleThursday, 04. June 2020, 14:01 4 years ago
    Hello,

    I built a HTML5 version of my game and uploaded the files on my server, but the game won't run. 

    Any suggestion?

    Thanx,
    Dorothee.

    Newbie

    9 Posts


  • #2, by SimonSThursday, 04. June 2020, 14:04 4 years ago
    A few things:
    The server has no mime type for wasm, that's slowing it.
    The exported file name has a space in it, that probably won't work.
    The exported file name misses the .vis extension.

    Thread Captain

    1580 Posts

  • #3, by dorothee-rascleThursday, 04. June 2020, 14:08 4 years ago
    Thanx, I try that right away for the file name and extension.
    On the other hand, I don't understand the sentence "The server has no mime type for wasm, that's slowing it." I'm really not into internet programming, as you can see...

    Thanx again !

    Newbie

    9 Posts

  • #4, by SimonSThursday, 04. June 2020, 14:27 4 years ago
    It depends on your web server, if it's apache you need to add .htaccess with
    AddType application/wasm .wasm

    That's only so the browser can run it faster, should work without.

    Thread Captain

    1580 Posts

  • #5, by dorothee-rascleThursday, 04. June 2020, 14:29 4 years ago
    Thank you !!

    Newbie

    9 Posts