Stream TV via HTTPS

This commit is contained in:
2020-02-11 08:51:23 +01:00
parent d68df48dee
commit 7f5a6ca40e
2 changed files with 8 additions and 2 deletions

View File

@@ -431,6 +431,7 @@
container: $(".now-playing-header").hide(), container: $(".now-playing-header").hide(),
title: $(".now-playing-header .title"), title: $(".now-playing-header .title"),
artist: $(".now-playing-header .artist"), artist: $(".now-playing-header .artist"),
controls: $(".now-playing-header .controls"),
programLink: $(".now-playing-header .program-link a"), programLink: $(".now-playing-header .program-link a"),
programLabel: $(".now-playing-header .program-link a > label") programLabel: $(".now-playing-header .program-link a > label")
}; };
@@ -444,7 +445,10 @@
$nowPlaying.artist.text(data.current.artist).attr('title', data.current.artist); $nowPlaying.artist.text(data.current.artist).attr('title', data.current.artist);
} }
$nowPlaying.programLink.attr('href', '{{route("programma")}}' + data.program.url); $nowPlaying.programLink.attr('href', '{{route("programma")}}' + data.program.url);
$nowPlaying.container.slideDown(); $nowPlaying.controls.hide();
$nowPlaying.container.slideDown(function() {
$nowPlaying.controls.fadeIn('slow');
});
// Now playing may have moved the menu // Now playing may have moved the menu
menu_position = $(".menu_container").offset().top; menu_position = $(".menu_container").offset().top;

View File

@@ -4,6 +4,8 @@
Kijk NH Gooi TV Kijk NH Gooi TV
@endsection @endsection
@include('widgets.mediaplayer')
@section('content') @section('content')
@parent @parent
@@ -12,7 +14,7 @@
@else @else
<div width="50%" style="width:100%; position:relative;"> <div width="50%" style="width:100%; position:relative;">
<video width="640" height="360" style="max-width:100%; height:100%;" preload="auto" autoplay controls="controls"> <video width="640" height="360" style="max-width:100%; height:100%;" preload="auto" autoplay controls="controls">
<source src="http://studiohilversum.6fm.nl:7007/hls/6fmtv.m3u8" type="application/x-mpegURL" /> <source src="https://stream.nhgooi.nl:81/tv/6fmtv.m3u8" type="application/x-mpegURL" />
</video> </video>
</div> </div>
@endif @endif