开发者

Display vimeo in fancybox , trouble in IE

i have a problem with VIMEO video .

I want to display it in fancybox :

this is HTML :

<a href="#content" class="zoom">test</a>

<div id="content" style="display:none;">


    <object width="504" height="280" data="http://vimeo.com/moogaloop.swf" type="application/x-shockwave-flash">
        <param value="always" name="allowscriptaccess"><pa开发者_如何学Goram value="true" name="allowfullscreen">
        <param value="http://vimeo.com/moogaloop.swf" name="movie">
        <param value="clip_id=6999704&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=00ADEF" name="flashvars">
    </object>

</div>

and js:

$(document).ready(function() {
        $("a.zoom").fancybox();
    });

Can somebody help me with this , maybe somebody knows hot to fix it ..

Thanks !!


try this html:

<a href="#content" class="zoom">test</a>

<div style="display:none;">
<div id="content">


    <object width="504" height="280" data="http://vimeo.com/moogaloop.swf" type="application/x-shockwave-flash">
        <param value="always" name="allowscriptaccess"><param value="true" name="allowfullscreen">
        <param value="http://vimeo.com/moogaloop.swf" name="movie">
        <param value="clip_id=6999704&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=00ADEF" name="flashvars">
    </object>

</div>
</div>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜