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(),
title: $(".now-playing-header .title"),
artist: $(".now-playing-header .artist"),
controls: $(".now-playing-header .controls"),
programLink: $(".now-playing-header .program-link a"),
programLabel: $(".now-playing-header .program-link a > label")
};
@@ -444,7 +445,10 @@
$nowPlaying.artist.text(data.current.artist).attr('title', data.current.artist);
}
$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
menu_position = $(".menu_container").offset().top;

View File

@@ -4,6 +4,8 @@
Kijk NH Gooi TV
@endsection
@include('widgets.mediaplayer')
@section('content')
@parent
@@ -12,7 +14,7 @@
@else
<div width="50%" style="width:100%; position:relative;">
<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>
</div>
@endif