add mobile.html

This commit is contained in:
zhw2590582 committed 2019-04-20 23:00:44 +08:00
1 parent 1dd4a90734
commit 06b15dc278
4 files changed
+67

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
html, body {
height: 100%;
}
.container {
height: 100%;
padding: 20px;
box-sizing: border-box;
}
.artplayer-app {
width: 100%;
height: 100%;
}
+9
View File
@@ -0,0 +1,9 @@
var vConsole = new VConsole();
var url = 'https://zhw2590582.github.io/assets-cdn';
var art = new Artplayer({
container: '.artplayer-app',
url: url + '/video/one-more-time-one-more-chance-480p.mp4',
// whitelist: ['iPhone OS 11'],
// whitelist: [(ua)=>{ return /iPhone OS 11/gi.test(ua); }],
// whitelist: [/iPhone OS 11/gi]
});