Skip to content

Commit

Permalink
Do not override quality on click (#3461)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Jun 4, 2020
1 parent 7c8a997 commit 23bc8e7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -131,7 +131,7 @@ class YoutubeExtension {
}

overrideClick(event) {
this.playerFixes();
this.overrideVideoProjection();
const player = this.getPlayer();
if (!this.isWatchingPage() || !this.hasVideoProjection() || document.fullscreenElement || !player) {
return; // Only override click in the Youtube watching page for 360 videos.
Expand Down

0 comments on commit 23bc8e7

Please sign in to comment.