I have links with vimeo urls in them:
<a class="video" href="http://vimeo.com/9532951">link 1</a>
<a class="video" href="http://vimeo.com/8228482">link 2</a>
Then I have manual fancybox call that loads the video into a fancybox:
<script>
$("a.video").click(function() {
$.fancybox({
'padding' : 0,
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'title' : this.title,
'width' : 400,
'height' : 265,
'href' : this.href.replace(new RegExp("([0-9])","i"),'moogaloop.swf?clip_id=$1'),
'type' : 'swf'
});
return false;
});
</script>
我一生无法弄清楚如何将参数传递给视频播放器...autoplay=1 或 fullscreen=1 等等。我尝试了几件事,但没有任何效果。认为这就像添加'swf' : 'autoplay=1'
,但没有奏效。无论如何,任何帮助将不胜感激
谢谢。