mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fix for casting-crashing in other browsers without casting
This commit is contained in:
@@ -350,7 +350,12 @@ temp_pass = "";
|
||||
|
||||
initializeCastApi = function() {
|
||||
try {
|
||||
if (cast == undefined) return;
|
||||
if (
|
||||
cast == undefined ||
|
||||
chrome.cast == undefined ||
|
||||
chrome.cast.AutoJoinPolicy == undefined
|
||||
)
|
||||
return;
|
||||
} catch (event) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user