forked from EXT/VR180-Web-Player
This commit is contained in:
@@ -24,6 +24,7 @@ type TwoDModeCallbacks = {
|
||||
type TwoDModeOptions = {
|
||||
callbacks: TwoDModeCallbacks;
|
||||
fullscreenTarget: HTMLElement;
|
||||
getControlsAutoHideDelayMs?: () => number;
|
||||
mediaCapabilities: MediaCapabilities;
|
||||
getActiveContentMesh: () => any;
|
||||
getCamera: () => any;
|
||||
@@ -92,6 +93,7 @@ export class TwoDMode {
|
||||
},
|
||||
mediaCapabilities: this.mediaCapabilities,
|
||||
fullscreenTarget: this.fullscreenTarget,
|
||||
getAutoHideDelayMs: options.getControlsAutoHideDelayMs,
|
||||
getIsActive: () => this.active,
|
||||
playerContainer: this.playerContainer,
|
||||
title: options.title
|
||||
|
||||
Reference in New Issue
Block a user