Hello!
Is it possible to add Playcanvas project to worpress and see in fullscreen?
Thank you
Hello!
Is it possible to add Playcanvas project to worpress and see in fullscreen?
Thank you
Hi @3dvisual,
Yes you can definitely emded a Playcanvas app in a Wordpress site. Here is a guide on how to add a Playcanvas build in an iframe:
https://developer.playcanvas.com/en/user-manual/publishing/web/communicating-webpage/
For making the Playcanvas build fullscreen you can do it easily in code using a vanilla Javascript method, check this article:
In addition, Playcanvas adds a number of buttons in the loader of all published builds that includes a fullscreen button.
We use the Wordpress plugin, Easy FancyBox for our “full screen” iframe because we want to provide a simple and obvious path back to our site. It doesn’t go quite full frame, but is nearly so.
Click on the “click here” text to see this in action.