Try not to create more than one post for the same thing!
It's difficult to understand what you have when you say "Hype parent page". Do you mean you have a HTML page with more than one Hype document or you have a Hype document with an iframe in it?
IF it's the later, then I showed you the technique of accessing an iframe (widget) within Hype in the other post. If it's the former then Hype has a way of being accessed outside the document (i.e from a separate part of the HTML by using
Sorry, Iam just a little girl 9 years old from japan.
My english is not well.
I mean Hype document with an iframe in it.
I mean i cant call parent.hypeDocument.getElementById(‘videoid’).play(); via button on iframe.
Thank you
You can probably just call parent.getElementById("videoid").play(). If it is a regular HTML5 video (like that which is made by dragging a .mp4 into Hype), then you don’t need to use the hypeDocument API version.
If you do need to use the HypeDocument API, then you would need to replace hypeDocument with HYPE.documents["documentName"] as @DBear mentioned.
Thank jonathan.
I tried that way but it did not work.
parent.getElementById(‘videoid’).play();
Nothing happend when I click on playvideo button.
Help me please testvideo2.zip (1.5 MB)