Hi there, i’m having trouble embedding my Hype document to a wordpress post and i want to try as an iframe instead - however, i can’t load your example image (see picture). Do you mind giving an example of how the code should be with an iframe?
<iframe src="http://url goes here/" width="width of document" height="height of document"></iframe>
This is the code you need to place in your iframe to load your document. Your url is wherever you placed your document. So for example if you placed your code in your uploads folder your iframe would look something like this
I’m assuming hus3.html exists. but whatever your html file is then just put it there and yes place this code in your text editor wherever you want the document to appear.
Anyway, my goal is to implement my Hype document at the frontpage of the website. It’s an image of a house, where you can click on videoimages, which jumps to a scene where a video plays.
I guess the best thing would be to put the code in the theme editor in stead of a page, when i want it to load at the frontpage of the website, right?
Don’t forget when you export your document from Hype you have a HTML file and a resources folder with the scripts. Inside the HTML file there is a relative url reference to the script file but if you separate these files or place them within Wordpress it’s best to change the url to an absolute one (with http://) at the beginning. This way the HTML file will always know where the script file is. I hope you can understand that
Hi @Daniel, Hype is a great invention. I enjoy learning how to use it for many future projects.
I can’t get the video to play online - even though i uploaded both .mp4 .ogg and .webm and direct the src to the upload folder. It works in my offline browser.
Here is my project: www.detåndbarehus.dk - the green video image in the window of the house points to a .mp4 video in the next scene. But it won’t start.
(The green videoimage to the bottom right points to a scene with the same video in youtube. Youtube works)
I activated “Start timeline -> main timeline” on Layout load, so should start by itself…
Any ideas? I really want to avoid linking to Youtube.