mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-15 03:45:03 +02:00
Fix:Chromecast button on mobile screen sizes #756
This commit is contained in:
parent
f741064843
commit
b12a344776
2 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ export default (ctx) => {
|
|||
var castContext = cast.framework.CastContext.getInstance()
|
||||
castContext.setOptions({
|
||||
receiverApplicationId: process.env.chromecastReceiver,
|
||||
autoJoinPolicy: chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED
|
||||
autoJoinPolicy: chrome.cast ? chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED : null
|
||||
});
|
||||
|
||||
castContext.addEventListener(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue