Skip to content

Commit

Permalink
YouTube: Audio Only | Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfung1031 committed Feb 1, 2024
1 parent a3c374a commit 9e6ec47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 484611-youtube-audio-only.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name YouTube: Audio Only
// @description No Video Streaming
// @namespace UserScript
// @version 1.2.3
// @version 1.2.4
// @author CY Fung
// @match https://www.youtube.com/*
// @match https://www.youtube.com/embed/*
Expand Down Expand Up @@ -750,7 +750,7 @@
await delayPn(60);
// console.log(1202, player_.getPlayerState() , audio.readyState , ns23, audio.paused === false, audio.muted === false)

if (k === 3 && player_.getPlayerState() === 3 && audio.readyState == 0 && ns23 && audio.paused === false && audio.muted === false) {
if (k === 3 && player_.getPlayerState() === 3 && audio.readyState == 0 && ns23 && audio.muted === false) {
// pw = pw || new PromiseExternal();
// const pw0 = pw;
if (!player_.isAtLiveHead()) {
Expand Down

0 comments on commit 9e6ec47

Please sign in to comment.