mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 03:46:16 -08:00
96 lines
3.9 KiB
HTML
96 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>Artplayer.js</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
|
|
<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" />
|
|
<link rel="stylesheet" href="./assets/css/codemirror.css" />
|
|
<link rel="stylesheet" href="./assets/css/dracula.css" />
|
|
<link rel="stylesheet" href="./assets/css/style.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<section class="main">
|
|
<div class="part-left">
|
|
<header class="header">
|
|
<a href="./" class="logo">
|
|
<img src="./assets/img/logo.png" height="20" alt="">
|
|
Artplayer.js
|
|
</a>
|
|
<div class="menus">
|
|
<div class="item has-sub-menu">
|
|
Ecosystem
|
|
<div class="sub-menu">
|
|
<ul>
|
|
<li class="title">Plugins</li>
|
|
<li>
|
|
<a
|
|
href="./?libs=.%2Funcompiled%2Fartplayer-plugin-danmuku.js&example=danmuku">artplayer-plugin-danmuku</a>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li class="title">Tools</li>
|
|
<li>
|
|
<a
|
|
href="./?libs=.%2Funcompiled%2Fartplayer-tool-thumbnail.js&example=thumbnail">artplayer-tool-thumbnail</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<a class="item" href="./document/">Document</a>
|
|
<a class="item" href="https://github.com/zhw2590582/ArtPlayer">Github</a>
|
|
</div>
|
|
<div class="run">Run Code</div>
|
|
</header>
|
|
<div class="libs">
|
|
<textarea class="libsInput"
|
|
placeholder="Other dependencies, support for js and css, multiple line breaks"
|
|
spellcheck="false"></textarea>
|
|
</div>
|
|
<div class="code">
|
|
<div class="codeMirrorWrap"></div>
|
|
</div>
|
|
</div>
|
|
<div class="part-right">
|
|
<div class="video-wrap">
|
|
<div class="artplayer-app"></div>
|
|
</div>
|
|
<div class="console"></div>
|
|
</div>
|
|
</section>
|
|
<div class="popups">
|
|
<div class="popinner"></div>
|
|
</div>
|
|
<script src="./assets/js/core.js"></script>
|
|
<script src="./assets/js/codemirror.js"></script>
|
|
<script src="./assets/js/javascript.js"></script>
|
|
<script src="./assets/js/console.js"></script>
|
|
<script src="./uncompiled/artplayer.js"></script>
|
|
<script src="./assets/js/common.js"></script>
|
|
<script>
|
|
var isLocalhost = Boolean(
|
|
window.location.hostname === 'localhost' ||
|
|
window.location.hostname === '[::1]' ||
|
|
window.location.hostname.match(
|
|
/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/
|
|
)
|
|
);
|
|
var _hmt = _hmt || [];
|
|
(function () {
|
|
if (!isLocalhost) {
|
|
var hm = document.createElement('script');
|
|
hm.src = 'https://hm.baidu.com/hm.js?b6c9b8bafbf5fe7225160101dafbbc7d';
|
|
var s = document.getElementsByTagName('script')[0];
|
|
s.parentNode.insertBefore(hm, s);
|
|
}
|
|
})();
|
|
</script>
|
|
</body>
|
|
|
|
</html> |