mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
remove ie.html
This commit is contained in:
1 parent
090a1b6f7d
commit
31909beac3
3 files changed
+2
-49
No files matched your search
@@ -1,7 +1,7 @@
|
||||
(function () {
|
||||
var userAgent = window.navigator.userAgent;
|
||||
var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(userAgent);
|
||||
var isIE = userAgent.indexOf('MSIE ') > -1;
|
||||
var isIE = /MSIE|Trident/.test(userAgent);
|
||||
|
||||
if (isMobile) {
|
||||
window.location.href = './mobile.html';
|
||||
@@ -9,8 +9,7 @@
|
||||
}
|
||||
|
||||
if (isIE) {
|
||||
window.location.href = './ie.html';
|
||||
return;
|
||||
new VConsole();
|
||||
}
|
||||
|
||||
var $codeMirror = document.querySelector('.codeMirrorWrap');
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Artplayer.js</title>
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<meta name="keywords" content="artplayer, player, js, html5, video" />
|
||||
<meta name="description" content="ArtPlayer.js is a modern and full featured HTML5 video player" />
|
||||
<link rel="shortcut icon" href="./assets/img/favicon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" href="./assets/css/normalize.css">
|
||||
<style>
|
||||
.artplayer-app {
|
||||
width: 800px;
|
||||
height: 600px;
|
||||
margin: 20px auto 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="artplayer-app"></div>
|
||||
</div>
|
||||
|
||||
<script src="./assets/js/core.js"></script>
|
||||
<script src="./assets/js/fetch.polyfill.js"></script>
|
||||
<script src="./assets/js/encoding-indexes.js"></script>
|
||||
<script src="./assets/js/encoding.js"></script>
|
||||
|
||||
<script src="./assets/js/vconsole.min.js"></script>
|
||||
<script src="./uncompiled/artplayer.js?t=6"></script>
|
||||
<script>
|
||||
var vConsole = new VConsole();
|
||||
setTimeout(function () {
|
||||
var script = document.createElement('script');
|
||||
script.src = './assets/js/ie.js?=' + Date.now();
|
||||
document.head.appendChild(script);
|
||||
}, 1000);
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -77,7 +77,6 @@
|
||||
<script src="./assets/js/console.js"></script>
|
||||
<script src="./uncompiled/artplayer.js"></script>
|
||||
<script>
|
||||
// var vConsole = new VConsole();
|
||||
var isLocalhost = Boolean(
|
||||
window.location.hostname === 'localhost' ||
|
||||
window.location.hostname === '[::1]' ||
|
||||
|
||||
Reference in new issue
Block a user