Turn on autoplay for video
This commit is contained in:
parent
c2a8c37689
commit
4b8676b178
|
@ -7,14 +7,14 @@
|
|||
<script src="video.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<video id="player" class="video-js vjs-default-skin" controls autoplay preload="none" style="max-width:95%;">
|
||||
<video id="player" class="video-js vjs-default-skin" controls preload="none" style="max-width:95%;">
|
||||
<source src="/stream/space.m3u8" />
|
||||
</video>
|
||||
<a href="https://imaginaerraum.de/live.html" target="_blank" style="text-align:center">
|
||||
In neuem Tab öffnen
|
||||
</a>
|
||||
<script>
|
||||
var player = videojs('#player', {fluid:true, autoplay:true, fullScreen: {navigationUI: "show"}});
|
||||
var player = videojs('#player', {fluid:true, fullScreen: {navigationUI: "show"}});
|
||||
player.ready(function() { player.play(); }
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue
Block a user