twitchAdSkip icon indicating copy to clipboard operation
twitchAdSkip copied to clipboard

Console not displaying appropriate error on Following page

Open ToxiClay opened this issue 4 years ago • 0 comments

If I am on my following page https://www.twitch.tv/directory/following/live(), I eventually see this message:

twitchAdSkip: Video player not found.

This is technically appropriate, but not the message I expected to see. The message I expected to see,

 if (!videoNodeEl) {
      throw new Error('Video player element not found.  If it is expected that there is no video on the current page (e.g. Twitch directory), then ignore this error.');
    }

appears to be kept within the listenForVolumeChanges function, but the script is falling through to spawnFindVideoPlayerEl instead.

ToxiClay avatar Nov 04 '20 07:11 ToxiClay