6
皆さん、私は近くにいると感じますが、賞金はありません。私がFancyboxをロードしてJW Playerをロードしようとしているコードです。FancyBox内でJW Playerを読み込んでいます
<script type="text/javascript">
jQuery(window).load(function() {
jQuery("a.fancybox").fancybox({
'content':'<div id="mediaspace">Test</div>',
maxWidth : 800,
maxHeight : 600,
fitToView : false,
width : '70%',
height : '70%',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect : 'none',
afterLoad: function() {
jwplayer('mediaspace').setup({
'flashplayer': '<?php bloginfo('template_directory'); ?>/lib/jw/player.swf',
'file': 'LtGoBZ4D4_E',
'image': 'http://img.youtube.com/vi/LtGoBZ4D4_E/0.jpg',
'provider': 'youtube',
'height': 400,
'width': 700,
'controlbar.position': 'bottom',
'youtube.quality': 'highres'
});
}
});
});
</script>
私はさまざまなオプションを試しています。
JW Player はファンシーボックス外で動作します。問題を見ているアイデアや代替方法
パーフェクト:ここ
はさらに参照または将来のAPIの変更のドキュメントへのリンクです!ありがとうございました! –