2012-02-01 37 views
2

こんにちは私はYouTubeのリンクとページ上のfancyboxの画像を持っていますが、私は画像を開いたときに、YouTubeのビデオはバックグラウンドで行かない。代わりに、それはここでは画像の上に行くにはコードがfancybox youtube overlay

<a class="fancybox-button" rel="fancybox-button" href="http://xbmc.org/wp-content/gallery/aeon/aeon_home_watchmen.jpg" title="xbmc"><img alt="1" src="http://xbmc.org/wp-content/gallery/aeon/aeon_home_watchmen.jpg" width="105" height="75"/></a> 



<iframe width="480" height="270" 
    src="http://www.youtube.com/embed/v_AxZXmPRVQ"> 
</iframe> 

ように見えるものでも、これはGoogle Chromeでのみ

答えて

4

をたまたま設定wmodeこのようなあなたのユーチューブ映像のopaqueへ:

<iframe src="http://www.youtube.com/embed/v_AxZXmPRVQ?wmode=opaque" width="480" height="270" ></iframe> 
+0

ありがとうございました – blade19899

+0

これは正解とマークしてください。ありがとう – JFK

+0

実際に何を意味し、なぜそれがビデオに影響するのか不思議です。 – pal4life