Turn on autoplay for video
This commit is contained in:
parent
c2a8c37689
commit
4b8676b178
|
@ -7,14 +7,14 @@
|
||||||
<script src="video.min.js"></script>
|
<script src="video.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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" />
|
<source src="/stream/space.m3u8" />
|
||||||
</video>
|
</video>
|
||||||
<a href="https://imaginaerraum.de/live.html" target="_blank" style="text-align:center">
|
<a href="https://imaginaerraum.de/live.html" target="_blank" style="text-align:center">
|
||||||
In neuem Tab öffnen
|
In neuem Tab öffnen
|
||||||
</a>
|
</a>
|
||||||
<script>
|
<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(); }
|
player.ready(function() { player.play(); }
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user