Exporting as single html file


#1

Is there any way (including premium version) to export the project as a single html file that contains the scripts and other assets as base64 encoded data-uris?
We need this to use the game as a playable ad on facebook ads platform.
Thanks in advance.


#2

Not out of the box, unfortunately: Using PlayCanvas for a Playable Ad?

You would need to create a post processing script to effectively inline everything.


#3

Hi, were you able to do this?


#4

There is work being done on bundle assets which may help with this: https://github.com/playcanvas/engine/pull/1438