diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index b22c8835..49315280 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -236,6 +236,12 @@ +
  • + + + + +
  • @@ -429,6 +435,7 @@ title: $(".now-playing-header .title"), artist: $(".now-playing-header .artist"), controls: $(".now-playing-header .controls"), + studiocam: $(".now-playing-header .watch-studio"), programLink: $(".now-playing-header .program-link a"), programLabel: $(".now-playing-header .program-link a > label"), first: true @@ -442,6 +449,7 @@ $nowPlaying.title.text(data.current.title).attr('title', data.current.title); $nowPlaying.artist.text(data.current.artist).attr('title', data.current.artist); } + $nowPlaying.studiocam.toggle(data.stream); $nowPlaying.programLink.attr('href', '{{route("programma")}}' + data.program.url); if($nowPlaying.first) { $nowPlaying.controls.hide(); } $nowPlaying.container.slideDown(function() {