We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa7a2ac commit 8ed3aebCopy full SHA for 8ed3aeb
src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.vue
@@ -22,7 +22,15 @@
22
@volumechange="updateVolume"
23
@timeupdate="handleTimeupdate"
24
/>
25
+ <!--
26
+ VR playback is only possible for VR videos with "EQUIRECTANGULAR" projection
27
+ This intentionally doesn't use the "useVrMode" computed prop,
28
+ as that changes depending on the active format,
29
+ but as we initialize the shaka-player UI once per watch page,
30
+ the canvas has to exist even in audio-only mode, because the user may switch to DASH later.
31
+ -->
32
<canvas
33
+ v-if="vrProjection === 'EQUIRECTANGULAR'"
34
ref="vrCanvas"
35
class="vrCanvas"
36
0 commit comments