• Hello!

    I would like to embed my html5 games in my blog posts. I tried writing the html in the content area, but no luck.

    <div id="gamecontainer" style="width:800px"></div>
    <script type="text/javascript" src="phaser/2_0_1/phaser.min.js"></script>
    <script type="text/javascript" src="test.js"></script>

    Nothing appears in the content of the post and the html generated is:

    <div class="entry-content">
    <div id="container" style="width:800px"></div>
    <p><script type="text/javascript" src="phaser/2_0_1/phaser.min.js"></script><br />
    <script type="text/javascript" src="test.js"></script></p>
    											</div><!-- .entry-content -->

    Any help is much appreciated. Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter mrroboman

    (@mrroboman)

    Oh shoot! I found the canvas. It’s under the comments for some reason. Now I just have to get it above the comments text box.

Viewing 1 replies (of 1 total)
  • The topic ‘Embed HTML5 Game’ is closed to new replies.