Skip to main content
Participant
January 12, 2020
Answered

Play HTML5 within a div on a webpage

  • January 12, 2020
  • 2 replies
  • 415 views

Created a micro learning project (HTML5). I need it to run within a div on a webpage. Right now, I am loading the project into the div via JQuery .load command. However, the div is blank on the page and it displays full width. The project is small (300x400).

 

Any way to do this?

This topic has been closed for replies.
Correct answer Lilybiri

Same answer here, I always put a link to the published course in an iFrame when inserting a published example in my blog posts. Have a look at the most recent published example:

http://blog.lilybiri.com/find-the-differences-game

2 replies

Lilybiri
LilybiriCorrect answer
Legend
January 12, 2020

Same answer here, I always put a link to the published course in an iFrame when inserting a published example in my blog posts. Have a look at the most recent published example:

http://blog.lilybiri.com/find-the-differences-game

Participant
January 12, 2020

That worked! Thanks.

RodWard
Community Expert
Community Expert
January 12, 2020

I think you would be better off running it in an iframe on the page, not a DIV.