Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Mar 11, 2024
1 parent 4bc77ba commit 01a41ec
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions packages/docs/public/ios_debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@

var vConsole = new window.VConsole()

var player = OPlayer.make('#oplayer', {
source: {
src: 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8'
// poster: 'http://5b0988e595225.cdn.sohucs.com/images/20190420/da316f8038b242c4b34f6db18b0418d4.gif'
}
})
.use([OUI(), OHls({ forceHLS: search.get('fh') })])
var player = OPlayer.make('#oplayer', { source: { src } })
.use([OUI(), OHls({ forceHLS: true })])
.create()
.on(console.log)
.on(({ type }) => {
if (['timeupdate', 'controllervisibilitychange'].includes(type)) {
console.log(type)
}
})
</script>
</body>
</html>

0 comments on commit 01a41ec

Please sign in to comment.