2023-05-16 11:19:11 +08:00

95 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="referrer" content="no-referrer" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<!-- <script src="https://unpkg.com/vconsole/dist/vconsole.min.js"></script>
<script>
var ua = navigator.userAgent.toLowerCase()
console.log('ua', ua, (ua.indexOf('mobile') > -1 || ua.indexOf('ipad') > -1) && location.href.indexOf('vconsole=1') > -1)
if ((ua.indexOf('mobile') > -1 || ua.indexOf('ipad') > -1) && location.href.indexOf('vconsole=1') > -1) {
var vConsole = new window.VConsole();
}
</script> -->
<style>
.pannel {
margin: 20px 0;
padding: 20px;
background: #72a0c8;
}
.message-pannel {
margin-top: 20px;
color: #333a3c;
}
.message-info {
margin-top: 20px;
border: 1px solid #728bb8;
padding: 10px 10px;
}
h4 {
margin-block-start: 0.2em;
margin-block-end: 0.2em;
}
p {
line-height: 18px;
display: block;
line-height: 16px;
/* margin: 10px; */
margin-block-start: 0.4em;
margin-block-end: 0.4em;
}
.ext-controls0 {
height: 80px !important;
background-color: #000;
}
</style>
</head>
<body>
<div id="video0"></div>
<div class="pannel">
<div class="tool">
<button type="submit" class="btn" id="js-destroy0" onclick="window.destroy(0)">
销毁
</button>
<button type="submit" class="btn" id="js-reinit0" onclick="window.init(0)">
重新初始化
</button>
<button type="submit" class="btn" id="js-playnext0" onclick="window.playNext(0)">
播放下一个
</button>
<button
type="submit"
class="btn"
id="js-changelang0"
onclick="window.changeLang(0)"
>
切换语言
</button>
<button
type="submit"
class="btn"
id="js-changelang0"
onclick="window.createDot(0)"
>
添加预览点
</button>
</div>
<div class="message-pannel">
<div class="message-info" id="js-show-lang0">
<h4>current lang:</h4>
</div>
<div class="message-info" id="js-show-log0">
<h4>log info:</h4>
</div>
</div>
</div>
<script></script>
<script type="module" defer src="./index.js"></script>
</body>
</html>