0
問題: 私のビデオはie11に表示されません。私はそれを機能させたいと思います。Javascriptビデオが動作しません。
私はインターネットエクスプローラから取得するエラーのリストは、11(IE11)されています
https security is compromised by res://ieframe.dll/unknownprotocol.htm
https security is compromised by res://ieframe.dll/ErrorPageTamplate.css
and so on..
同じコードがようにFirefoxの、オペラ、クロム、サファリ上で動作し、...
(function() {
var iframe = document.createElement("iframe");
iframe.src = "video.mp4";
iframe.width = "${width}";
iframe.height = "${height}";
iframe.marginHeight = "0";
iframe.marginWidth = "0";
iframe.frameBorder = "0";
iframe.scroling = "no";
document.getElementById("${someElementId}").appendChild(iframe);
})();
これは、サーバーのヘッダーに問題が発生する可能性があります。コンテンツを自己ホストしている場合に 'X-Frame-Options'を' ORIGIN'に設定したかどうか確認できますか? – John
はいヘッダ "X-Frame-Options"を "ORIGIN"に設定します。 –