Defold HTML 5 to WordPress

#1

I saw this youtube below and I want to do the same thing for my Defold learning blog.

Embed a Unity WebGL Game on a Wordpress Blog https://www.youtube.com/watch?v=3Jpqvt6FGQM

Can I just export HTML 5 application, then copy it to my blog and follow same procedures on my blog ?

Any suggested welcome!

0 Likes

#2

Yes, that should probably work. Give it a try!

1 Like

#3

I have searched the key word “arcade” on the wordPress.org for the plugin module, resulted answer is 7 items matched, and all failed after I installed and tested.

My idea is not working to play the tutorial game on my Blog (it’s a paid version).

0 Likes

#4

Hello,
Embed Defold game in Wordpress pretty easy:

  1. Upload game folder to your hosting
  2. Insert HTML block in your article

    With the next HTML code:
<iframe src="https://LINK_TO_YOUR_FOLDER/index.html" width="640" height="512" scrolling="no"></iframe>

You need to replace LINK_TO_YOUR_FOLDER with link to your game folder on your hosting, also set width and height of your game.

Example:
https://agulev.com/easing-functions/

4 Likes

#5

If the HTML widget doesn’t work then try this plugin: https://wordpress.org/plugins/iframe/

That was the only way to make iframe work on my blog: https://denysalmaral.com/2019/05/boat-sim-notes-1-water-friction.html

Hope yours is not from wordpress.com, there you cant.

1 Like

#6

This blog is working with iFrame, but the Google Blogger is failed.
GameEngineDefold: http://sunjack012.pixnet.net/blog

0 Likes

#7

This is my website, I put my first Defold game onto the website storage.


This is multilingual support as plugin default on the WordPress.

0 Likes