0
昨日、jQuery YouTubeプラグインについてquestionを投稿しました。この問題を修正したので、このプラグインを使用してもInternet Explorer 7または8のビデオはロードされません。jquery youtubeプラグイン - 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(); }});
downvoteすること自由に感じ、私はコメントすること:)簡単に言えば、IEは、ソフトウェアの最大のがらくたが今まであるので、持って動作します製! – ZolaKt
私はそれを認識していますが、私のユーザベースの95%がIE(6-9)を使用しています。私は単にこれを無視することはできません。 – terrid25
ええ、私は知っています。そこには数回いた。 :)もしも、そのようなことが決して存在しなかったら、もっと簡単になるだろう:)とにかく、ビデオとクロスブラウザーの互換性チェックはhttp://videojs.com/で試してみた。とても満足していた。私はそれがあなたが探しているものではないことを知っていますが、多分それは何とか役立ちます – ZolaKt