PKM-er / media-extended

enhanced media(video/audio) playback for obsidian.md
https://mx.pkmer.net
MIT License
632 stars 52 forks source link

Youtube videos get stuck in loading state after about half a minute #368

Closed horvath-balazs closed 5 months ago

horvath-balazs commented 5 months ago

I think it's probably related to the updated Youtube UI.

The issue is not appearing when media-extended is set to iFrame mode but I can't take screenshots in iFrame mode

Replication:

image
aidenlx commented 5 months ago

could you check if watching the same video in browser popup (use login website command to open) stuck? if that's the case, it may be the issue youtube itself.

horvath-balazs commented 5 months ago

No issue in the browser popup:

image
aidenlx commented 5 months ago

CleanShot 2024-05-24 at 21 30 17@2x

when stuck in a permanent loading state, could you enable native controls to see if controls works?

horvath-balazs commented 5 months ago

Still stuck :(

aidenlx commented 5 months ago

could you try latest 3.2.3 to see if the issue still persist?

horvath-balazs commented 5 months ago

@aidenlx it's now fixed. Thank you 🙏

masch commented 3 months ago

I have the same issue, I tried it with 3.2.3 and 3.24 versions and youtube videos get stuck it about 20 seconds. Also I tried with native controls and I get the same issue

horvath-balazs commented 3 months ago

Yeah I also have the issue again :(

jsjuris89 commented 3 months ago

3.2.4 version and videos pretty much get stuck instantly - they don't load. image

tonypuglieso commented 2 months ago

Yeah I also have the issue again :(

I have the same problem, if I activate the "iframe" mode it works perfectly, but I can't see subtitles.

One detail, I had this problem in my edge browser, and I solved it with an extension called "user-agent switcher and manager" that makes YouTube believe that you are using Chrome, it may have nothing to do with this problem.

There is another plugin for watching media-notes videos that now work with this part of YouTube playback, you can see the method it uses to view it.