There is a way how to implement this function on Hype
What I need is to put the youtube video above all objects in the screen.
November 6, 2016, 10:23am
here’s is a
give the callerbutton the youtube-src-url as id (missused id here – @hype at the moment you can’t use dataattributes via UI) and apply js-funtion with name play
youtuber.hype.zip (791.4 KB)
(David Guillermo Escalante Trinidad)
November 6, 2016, 9:50pm
I managed to get it work using this source:
YouTube.hype.zip (93.3 KB)
November 7, 2016, 7:48am
this is easy to implement.
but as far as you can do something with hype with less effort i wouldn’t want to rely on third party libraries.
1.) loading time increases
2.) disorders may occur which are difficult to manage
3.) function and design are much more adaptable when built within hype
my fifty cents
August 28, 2019, 4:28pm
I did not find where to custom or change the You tube video URL in your Hype document, would you please clarify ?
Look in the “play” function script. Note the first line…
window.myUrl = element.id;
var symb = hypeDocument.getSymbolInstanceById('youtuber')
The “play” button triggers that function. The “id” of the button is:
August 29, 2019, 6:38am
with hype 4 you can store data-attributes instead to missuse id’s so …
the example is three years old …
August 29, 2019, 11:05am
I replaced that URL with our local hosted video url, but the video does not show up
FOR MOBILE MODE.
You can check at
or this hype document:
youtuberbyh_classen.hype.zip (826.5 KB)
we usually use YOUKU since Youtube does not cover China market like this one.
you can find the embedded code at:
<iframe height=498 width=510 src='http://player.youku.com/embed/XNDE4NTUyMjAzMg==' frameborder=0 'allowfullscreen'></iframe>
It would be great if you could show a example for local hosted video or for that Youku video.
Thanks so much.
August 29, 2019, 11:49am
as you’ll notice, the url is used as src for an iFrame … not file, not embed …
June 26, 2020, 12:09pm
Tks you for popup function