Hugo shortcode for embedding Unity WebGL players

23 June 2021 webdev gamedev

I want to embed my Unity WebGL builds inside this site, rather than linking to the content in a new tab (which is over in Azure blob storage). Now I can do that!

This is really just a test. If it works, I’ll tidy it up and share the code later.

This content does not resize on smaller browser widths. Try using the fullscreen button below (after loading the game).
WebGL builds are not supported on mobile devices.

This is an embedded WebGL player, which loads my first game.

Update

I’ve shared the code, see updated post.

comments powered by Disqus