SWFObject Jwplayer Youtube将无法播放。玩得还不错

时间:2014-08-18 18:38:30

标签: php youtube jwplayer swfobject

我在这里疯了。请参阅示例: Here

最长的时间无法弄清楚如何让这个播放器播放代码中嵌入的youtube代码。我认为jwplayer更新是负责人但更新jwplayer.js根本没有显示任何内容。我非常喜欢php调用等等。有人指出我正确的方向或更好的解决方案。提前谢谢!

<script src="js/global.js" type="text/javascript"></script>
<script src="js/swfobject.js" type="text/javascript"></script>  
<script type='text/javascript' src='video/swfobject.js'></script>
<link rel="stylesheet" type="text/css" href="css/pop-style.css"/>
<script type="text/javascript" src="js/custom.js"></script>
<link href="css/howitworks.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/howitworks.js"></script> 


<!-- Load Video / Image --> 
<div class='projectsh_video'>   

    <?php if ( $objProjects->pro_media_type == 'V' ) : ?>           


        <script type='text/javascript'>                 
            PlayVideo("<?php echo $objProjects->pro_video_link; ?>","525","350","preview");
        </script>
视频

    <?php else : ?> 

        <img src='<?php echo $objProjects->pro_l_image; ?>' alt='<?php echo $objProjects->pro_title; ?>' title='<?php echo $objProjects->pro_title; ?>' />

    <?php endif; ?>     

</div><!-- End of projectsh_video -->`

0 个答案:

没有答案