multiview/live/index.html
Martin Donnelly e8de544ece init
2020-05-26 21:59:25 +01:00

81 lines
3.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Multiview News</title>
<link href="https://fonts.googleapis.com/css?family=Muli" rel="stylesheet">
<link href="/css/design.css" rel="stylesheet">
<link href="https://vjs.zencdn.net/7.3.0/video-js.css" rel="stylesheet">
<script src="https://www.youtube.com/iframe_api"></script>
<script src= "https://player.twitch.tv/js/embed/v1.js"></script>
</head>
<body>
<div id="container">
<div class="quarter">
<div class="wrapper">
<div class="stream live youtube" data-youtube-id="skynews-youtube">
<div class="overlay"></div>
<div class="title">Sky News</div>
<iframe id="skynews-youtube" type="text/html" frameborder="0" width="100%" height="100%"
src="http://www.youtube.com/embed/9Auq9mYxFEE?enablejsapi=1&autoplay=1&mute=1&controls=0&fs=0&modestbranding=1"></iframe>
</div>
</div>
</div>
<div class="quarter">
<div class="wrapper">
<div class="stream live" data-video-id="2" data-video-source="https://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_news24.m3u8">
<div class="overlay"></div>
<div class="title">BBC News</div>
<video id="video_stream2" class="video-js vjs-16-9" autoplay muted preload="auto" data-setup='{ "youtube": { "ytControls": 0 } }'>
<source src="https://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_news24.m3u8" type="application/x-mpegURL">
</video>
</div>
</div>
</div>
<div class="quarter">
<div class="wrapper">
<!--<div class="stream live" data-video-id="3" data-video-source="https://churro.prod.reuters.tv/rest/v2/live/playlist/story/371233">
<div class="overlay"></div>
<div class="title">Reuters - France/Germany Border</div>
<video id="video_stream3" class="video-js vjs-16-9" autoplay muted preload="auto" data-setup='{ "youtube": { "ytControls": 0 } }'>
<source src="https://churro.prod.reuters.tv/rest/v2/live/playlist/story/371233" type="application/x-mpegURL">
</video>
</div>-->
<div class="stream live youtube" data-youtube-id="euronews-youtube">
<div class="overlay"></div>
<div class="title">Euronews</div>
<iframe id="euronews-youtube" type="text/html" frameborder="0" width="100%" height="100%"
src="https://www.youtube.com/embed/6xrJy-1_qS4?enablejsapi=1&autoplay=1&mute=1&controls=0&fs=0&modestbranding=1"></iframe>
</div>
</div>
</div>
<div class="quarter">
<div class="wrapper">
<div class="stream live twitch" data-video-id="4" data-twitch-id="twitch-rukpolitics" id="twitch-rukpolitics">
<div class="overlay"></div>
<div class="title">twitch.tv/rukpolitics</div>
</div>
</div>
</div>
</div>
<script src="https://vjs.zencdn.net/7.3.0/video.js"></script>
<script src="/js/videojs.youtube.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="https://js.pusher.com/4.3/pusher.min.js"></script>
<script src="/js/multiview.js"></script>
<script type="text/javascript">
jQuery(document).ready(() => {
Multiview.playTwitch('twitch-rukpolitics', 'rukpolitics');
Multiview.playYoutube('skynews-youtube');
Multiview.playYoutube('euronews-youtube');
})
</script>
</body>
</html>