2014-11-28, 19:08:45
Hi there,
is there a way to show a youtube video in a fancy box?
With a vimeo video and the plugin "Short codes" like this:
<p><a href="[vimeo id='vimeoID' width='700' height='' /]" id="fb"><img alt=" " src="http://myurl.de/folder/images/image.jpg" style="width: 413px; height: 276px;" /></a></p>
it works like charm.
But the same code with a youtube video shows the last characters of the link on the page - " id="fb"> - and the link fails.
Has anyone an idea why this happens or is there an other method to show a youtube video in a lightbox?
Thanx for your help
Soho
is there a way to show a youtube video in a fancy box?
With a vimeo video and the plugin "Short codes" like this:
<p><a href="[vimeo id='vimeoID' width='700' height='' /]" id="fb"><img alt=" " src="http://myurl.de/folder/images/image.jpg" style="width: 413px; height: 276px;" /></a></p>
it works like charm.
But the same code with a youtube video shows the last characters of the link on the page - " id="fb"> - and the link fails.
Has anyone an idea why this happens or is there an other method to show a youtube video in a lightbox?
Thanx for your help
Soho