Iframe inject (#406)

This commit is contained in:
Harvey Zack authored and GitHub committed 2022-10-20 16:46:26 +08:00
1 parent b5727b60a2
commit d055eb3e60
3 files changed
+227

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Artplayer Iframe Inject</title>
<style>
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.container {
width: 100%;
height: 100%;
}
.artplayer-app {
width: 100%;
height: 100%;
background-color: #000;
}
</style>
</head>
<body>
<div class="container">
<div class="artplayer-app"></div>
</div>
<script src="../uncompiled/artplayer/index.js"></script>
<script src="./iframe.helper.js"></script>
<script>IframeHelper.inject();</script>
</body>
</html>