You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ozgurkon-site/content/live/_index.md

32 lines
736 B

5 years ago
---
title: Live
draft: false
---
<script src="https://vjs.zencdn.net/7.7.6/video.js"></script>
<div class="hero">
<video
id="ozgurkon-live"
class="video-js"
controls
preload="auto"
width="960"
height="540"
poster="/ozgurkon.jpg"
data-setup="{}" controls>
<source src="rtmp://live.ozgurkon.org:1936/live/live" type="rtmp/flv">
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a
web browser that
<a href="https://videojs.com/html5-video-support/" target="_blank"
>supports HTML5 video</a
>
</p>
</video>
<script>
var player = videojs('ozgurkon-live');
player.play();
player.hlsQualitySelector();
</script>
</div>