YouTube Video Dialog using JavaScript/JQuery

Hope the code is self explanatory. It shows video in a model dialog with a semi transparent background. It will open the video in a new tab if the window/screen is too small. You can add support for other services like Vimeo, DailyMotion by changing the value for the vurl variable. Good luck!


Code here: http://jsfiddle.net/vpfaiz/KBtxv/1

1 comment:

Anonymous said...

First casino to bring back the game of blackjack in VR
First casino to bring back the game of blackjack in 1xbet VR. The first 퍼스트 카지노 gaming destination to bring back the 카지노 game of blackjack has