LoginSignup
1
0

More than 5 years have passed since last update.

【PlayCanvas】PlayCanvas製アプリをWebページに組み込む

Last updated at Posted at 2017-12-13

iframeで組み込み可能です

<iframe src="https://playcanv.as/xxxxxx/" width="640" height="480"></iframe>

playcanv.asから呼び出してる場合は、パラメータで?overlay=falseを指定すると、フッターが表示されなくなります。

<iframe src="https://playcanv.as/xxxxxx/?overlay=false" width="640" height="480"></iframe>

余談

1タブで複数ウィンドウ広げるためのページ"quadiframe"を作りました。
https://playcanvas.utautattaro.com/quadiframe.html?tile_x=2&tile_y=2&url=https://utautattaro.com

quadiframe.html?以降のパラメータからiframeの数を調整できます。
tile_x : 横に何ウィンドウ並べるか
tile_y : 縦に何ウィンドウ並べるか
url : 組み込むURL

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0