2011-12-22 4 views
0

어제 저는 jQuery YouTube 플러그인에 대해 question을 게시했습니다. 이 문제를 해결 한 후이 플러그인을 사용하면 Internet Explorer 7 또는 8에서 비디오가로드되지 않습니다.jquery youtube plugin - IE의 동영상

약간의 조정을하고 jsfiddle에 코드를 삽입했습니다.

IE에서 보려면 SWFObject가 포함되어 있지만 어떤 이유 때문에 비디오가로드되지 않는 것 같습니다.

누구나 아이디어가 있습니까?

HTML

jQuery(document).ready(function() { 
    jQuery('.test').hide(); 
}); 

    jQuery("#player").tubeplayer({ 
    width: 600, // the width of the player 
    height: 450, // the height of the player 
    allowFullScreen: "true", // true by default, allow user to go full screen 
    swfobjectURL: "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js", 
    loadSWFObject: true, // if you include swfobject, set to false 
    initialVideo: "VIDEO_ID", // the video that is loaded into the player 
    preferredQuality: "default",// preferred quality: default, small, medium, large, hd720 
    onPlay: function(id){}, // after the play method is called 
    autoPlay: true, 
    onPause: function(){}, // after the pause method is called 
    onStop: function(){}, // after the player is stopped 
    onSeek: function(time){}, // after the video has been seeked to a defined point 
    onMute: function(){}, // after the player is muted 
    onUnMute: function(){}, // after the player is unmuted 
    onPlayerEnded: function(){$('#player').hide(); $('.test').show(); }}); 
+0

downvote 자유롭게,하지만 난 코멘트 : 간단하게 말해서, IE는 소프트웨어의 가장 큰 쓰레기 이제까지 때문에이 작동 만든! – ZolaKt

+0

나는 그것을 알고 있지만, 내 사용자베이스의 95 %는 IE (6-9)를 사용합니다. 나는 이것을 단순히 무시할 수 없다. – terrid25

+0

그래, 알아. 거기에 몇 번 있었어. 어쨌든, 비디오 및 크로스 브라우저 호환성 체크를 위해 http://videojs.com/을 테스트 해 보았습니다. 매우 만족했습니다. 나는 그것이 당신이 찾고있는 것이 아니라는 것을 압니다. 어쩌면 그것이 어떻게 든 도움이 될 것입니다. – ZolaKt

답변

0

확인

<div id="player"></div> 
<div class="test"> 
    <p>Thank you for watching the video.</p> 
    <p>Your Voucher Code is: <br /><br /><span>ABCDEFG</span></p> 
</div> 

자바 스크립트, 그래서 나는 SWFObject 2.1 다시 설치 플래시 플레이어를 포함.

이 지금 IE7, IE8 및 IE9

에있는 모든 사람의 도움을

감사합니다 :)