Youtube videos on popup


(Nahum Castro) #1

Hello all.

There is a way how to implement this function on Hype
http://jsfiddle.net/Varinder/WkyPc/1/

What I need is to put the youtube video above all objects in the screen.

The thing is that I don’t undestard the javascript use on Hype about using a div or similar to put the video.

Thanks.
Nahum


(David Guillermo Escalante Trinidad) #2

I second this request.


(Hans-Gerd Claßen) #3

here’s is a hypeapproach
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)


Method to create responsive popup
(David Guillermo Escalante Trinidad) #4

I managed to get it work using this source: http://sorgalla.com/lity/

YouTube.hype.zip (93.3 KB)


(Hans-Gerd Claßen) #5

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.
because
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 :wink: