Open WofWca opened 2 years ago
This is weird. el.currentSrc
's origin is equal to location.origin
. But the video is actually loaded from Google's servers. I'm not sure how to detect that. Perhaps https://github.com/WebAudio/web-audio-api/issues/2453 can help when it's implemented.
Like here https://yewtu.be/ (or see https://docs.invidious.io/instances/).
(a part of) the responsible code:
https://github.com/WofWca/jumpcutter/blob/ce1976dd1313332ba519e362d5414e2b9a1a94f5/src/entry-points/content/AllMediaElementsController.ts#L433-L435
Related: #47