I have a YouTube video on my scene, which I activate with a button. I used the “emptyInnerHTML” function to stop the video when I click on another button – works great. However, when I click on the first button, the video doesn’t appear. How do I get the video to display again? I’m assuming there’s another function/variable involved, but my coding knowledge is very shallow.
The “emptyInnerHTML” function I’m assuming is just something like ...innerHTML = "";
which in effect is getting rid of the youtube video.
Can you upload a version of your document and I’ll see what I can do?
There are some posts here on using Youtube videos in Hype. Have you looked at those. Understand completely if you cannot follow them. You can use a youtube API which gives you controls like play, pause, on end do something, etc.
Thanks for the quick response! Correct, I’m using innerHTML = " ", which I found on this thread in the forums. I’ve trolled the forums, and this is the only reference I could find to this problem.
I don’t actually want to get rid of the video, just stop it from playing.
I’ve uploaded a simplified version of my document; it’s a bit big to send the whole thing.