How to insert Youtube Video on Frontpage

If you are planning to organize any conference or festival, there are many ways to get help via our forum.
GK User
Tue Feb 02, 2016 12:42 pm
Hi guys,

I´m trying to add my own video in the banner as your demo shows. In your demo the video loads, but when I put my own URL of the video
Code: Select all
<a class="btn-video thickbox" href="//www.youtube.com/embed/zOIawcK13DI_iframe=true&width=640&height=480" data-scroll-reveal="enter bottom and wait 1.5s">Watch video</a>

the lightbox box don´t load any youtube video. What I´m doing wrong?

Thanks!
User avatar
Junior Boarder

Joshua M
Wed Feb 03, 2016 9:30 am
Hi,

It's wrong syntax, try the following code:
Code: Select all
<a class="btn-video thickbox" href="//www.youtube.com/embed/zOIawcK13DI?TB_iframe=true&width=640&height=480" data-scroll-reveal="enter bottom and wait 1.5s">Watch video</a>
User avatar
Moderator

GK User
Wed Feb 03, 2016 9:53 am
Joshua M wrote:Hi,

It's wrong syntax, try the following code:
Code: Select all
<a class="btn-video thickbox" href="//www.youtube.com/embed/zOIawcK13DI?TB_iframe=true&width=640&height=480" data-scroll-reveal="enter bottom and wait 1.5s">Watch video</a>

It works!
Now I see the correct syntax.

Thanks for the solution!
User avatar
Junior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.