Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Media control needs to attach to its window when entering VR video. F…
Browse files Browse the repository at this point in the history
…ixes #1830
  • Loading branch information
daoshengmu committed Sep 13, 2019
1 parent e2eec13 commit bbc3f24
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ private void enterVRVideo(@VideoProjectionMenuWidget.VideoProjectionFlags int aP
}
mMediaControlsWidget.setProjectionMenuWidget(mProjectionMenu);
mMediaControlsWidget.setMedia(mFullScreenMedia);
mMediaControlsWidget.setParentWidget(mAttachedWindow.getHandle());
mMediaControlsWidget.setProjectionSelectorEnabled(true);
mWidgetManager.updateWidget(mMediaControlsWidget);
mWidgetManager.showVRVideo(mAttachedWindow.getHandle(), aProjection);
Expand Down

0 comments on commit bbc3f24

Please sign in to comment.