How to embed HTML5 game into web page

Discussion and feedback on Construct 2

Post » Wed Jan 28, 2015 2:00 am

My kid makes HTML5 game with Construct 2.
I have a webserver Apache, PHP, MySQL, WordPress.
I would like to embed hes game project into a web page.

It seem that it is possible with Iframe but I dont know how to create the script to make it work.

The project is locate into the hard disk of my server at (C:/Program%20Files/Apache%20Software%20Foundation/Apache2.2/htdocs/HuguesVenture/index.html)

I tried this script but it does work...

[iframe src="C:/Program%20Files/Apache%20Software%20Foundation/Apache2.2/htdocs/HuguesVenture/index.html" width="360" height="480"]
B
4
Posts: 1
Reputation: 204

Post » Wed Jan 28, 2015 2:07 am

Replace the local path with the full Url to the index.html file. Web browsers don't recognize the local path on the server.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,273


Return to Construct 2 General

Who is online

Users browsing this forum: ome6a1717 and 1 guest