4
我是setting up colorbox here (點擊展開全部,然後是第二個鏈接) 但我嵌入到colorbox中的YouTube視頻顯示的大小錯誤。 「關閉」也在一個奇怪的位置。 照片顯示的問題:i.stack.imgur.com/of8X4.pngColorbox,無法控制Youtube視頻的大小...太小
它應該是一個720p的視頻,並打開相當大。 我試着改變腳本這一行,但它沒有任何效果:
$(".youtube").colorbox({iframe:true, innerWidth:960, innerHeight:720});
我需要給它在html大小?
<li><a class='youtube' href="http://www.youtube.com/embed/hvHB5RvdorU?rel=0&wmode=transparent">Forming System Assembly Video</a></li>
有一個機會擴大名單踩在它上面Colorbox,I got the code from here。它基於jQuery。
......我是個白癡。固定。謝謝 – 2012-08-09 20:06:14
另一個白癡謝謝你! – charles 2015-06-24 20:23:29