mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Showing play-pause buttons
This commit is contained in:
@@ -236,6 +236,8 @@ initializeCastApi = function() {
|
||||
}
|
||||
$("#channel-load").css("display", "none");
|
||||
$('.castButton').addClass('castButton-white-active');
|
||||
$("#playpause").css("visibility", "visible");
|
||||
$("#playpause").css("pointer-events", "all");
|
||||
break;
|
||||
case cast.framework.SessionState.SESSION_RESUMED:
|
||||
castSession = cast.framework.CastContext.getInstance().getCurrentSession();
|
||||
@@ -256,6 +258,8 @@ initializeCastApi = function() {
|
||||
hide_native(1);
|
||||
$("#channel-load").css("display", "none");
|
||||
$('.castButton').addClass('castButton-white-active');
|
||||
$("#playpause").css("visibility", "visible");
|
||||
$("#playpause").css("pointer-events", "all");
|
||||
break;
|
||||
case cast.framework.SessionState.SESSION_ENDED:
|
||||
chromecastAvailable = false;
|
||||
|
||||
Reference in New Issue
Block a user