Live data from Hacker News

Yt-dlp: External JavaScript runtime now required for full YouTube support

github.com

441–450 of 646 posts

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#441
post #246

Earlier quoted context omitted.

"Fitting into my pocket so I can use it in line at the post office" is a capability that desktop PCs have yet to manage to achieve.

> use it in line at the post office If it were a powerful, useful device that I could load my own software onto and make programmable without jumping through a bunch of hoops, instead of the ad-laden crapware that resulted from primarily two megacorps duking it out over how to best extort billions from app developers and users for their own benefit, then sure, I'd agree. But phones aren't awesome little PCs, they're…

If you think having a developer mode switch on your smartphone that would enable shell access and a build env is what's stopping "the majority of the public" from "zombifying", either you need to talk with more "majority of the public", or I've been talking to the wrong "majority of the public".

The general public doesn't know how to program. They don't know what variables are, that they have types, they think functions are what rich people call a dinner party or corporate event. On computers, where there are no such restrictions, the majority of the public haven't suddenly become hobbyist programmers in their spare time.

If you're so blinded by hate because there are hoops (which there absolutely are), and you refuse to jump at all, not even a little bit, simply on principle, I mean, you do you. Meanwhile, there are people who aren't the majority of the public, but that want to do things that able to get into tech learning to code despite the epic of Apple vs Google vs Gilgamesh flattening towns. It would be great if it were easier because the phones were more open, but at some point you gotta go with the serenity prayer.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#442

Earlier quoted context omitted.

I use YouTube on a daily basis. I haven't seen any of these problems.

It is likely you use Chrome or a browser that uses Blink for its engine and the OP uses a non-blink browser like Firefox. I use Firefox and I can cofirm since the last few months Youtube usability borders on usable

I use Chrome and it's not good. They recently removed ability to force AV1 to only low resolution videos and as a result I had to disable HW acceleration in Chrome because accelerated AV1 decoding is broken on Steam Deck.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#443

I remember when QuickTime came out in 1991 and it was obvious to everyone that video should be copied, pasted and saved like any arbitrary data. It's absolutely insane to me how bad the user experience is with video nowadays, even video that's not encumbered by DRM or complex JavaScript clients.

I was just reading how ATSC 3 (over the air TV) is kind of stalling because they added DRM fairly late in the roll out. Several people bought receivers that are now incompatible.

DRM being forced into freeview TV seems like a contradiction in terms, and yet here we are.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#444

Earlier quoted context omitted.

long press -> save image/video is perfectly supported on a phone, it's just content diffusion platform that arbitrarily restrict it.

No, it's also iOS that's arbitrarily restricting it. I opened a bare .webm directly in Safari and got nothing on long press and nothing in any of the control widgets to save it.

Long pressing on https://www.learningcontainer.com/wp-content/uploads/2024/07...

gets me

https://imgur.com/a/bseFwX3 on iOS 18, and https://imgur.com/a/Ksbz3zW on iOS 26

Maybe you're holding it wrong?

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#445

Earlier quoted context omitted.

I use YouTube on a daily basis. I haven't seen any of these problems.

do you never encounter opening youtube video in a new tab only for video itself to load, while rest of the page doesn't?

This has happened to me frequently.

Also many times, the video won't play. If I reload the page, then it will play.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#446

Earlier quoted context omitted.

> Around 30-50x slower than V8 (node/deno). A solver running at 50ms instead of 1ms I would say is practically imperceptible to most users, but I don't know what time span you are measuring with those numbers.

My page is about generic JS benchmarks. Just did a quick run with a sample javascript challenge I got via yt-dlp ( https://raw.githubusercontent.com/ivankra/javascript-zoo/ref... ): $ time ./v8 /bench/yt-dlp.js | md5sum - a730e32029941bf1f60f9587a6d9554f - real 0m0.252s user 0m0.386s sys 0m0.074s $ time ./quickjs /bench/yt-dlp.js | md5sum - a730e32029941bf1f60f9587a6d9554f - real 0m2.280s user 0m2.507s sys 0m0.031s S…

Thanks for the benchmark!

I tried it on my slower laptop. I get:

   node(v8)  : 1.25s user 0.12s system 154% cpu 0.892 total
   quickjs   : 6.54s user 0.11s system 99% cpu 6.671 total
   quickjs-ng: 545.55s user 202.67s system 99% cpu 12:32.28 total
A 5x slowdown for an interpreted C JS engine is pretty good I think, compared to all the time, code and effort put into v8 over the years!

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#447

Earlier quoted context omitted.

I use YouTube on a daily basis. I haven't seen any of these problems.

Since some days I suddenly get freezes in the tab; these unfreeze after some time, say 20 seconds or so, but I notice a delay. Something has really changed to the worse lately. I think it has to do with anti-ad programs as well as AI, like the UI also changed. It is important to point out that while you do not have any issues, other people do or may.

I've been seeing weird stuff where the video will play but the page is unresponsive: can't click to pause, can't click the time index bar to move to a different point in the video, etc. Then I close the tab, and the audio keeps playing! It will play for 10-15 seconds before cutting out. Bizarre. . .

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#448
post #186

Earlier quoted context omitted.

Glad to hear it’s faster now! YouTube barely works in a full-on browser these days, props to the team that keeps it accessible via a Python script!

I use YouTube on a daily basis. I haven't seen any of these problems.

Well... I have many new, emerging problems with YouTube as of lately.

For example I have to scroll down a lot to get to the comment section, the suggestions are all over the place, and so forth. Annoying.

Also due to uBlock Origin, some videos do not start and I have to refresh. It is not much of an issue for me but the fact that apparently I need a huge monitor to see the "old layout" is a problem for me.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#449
post #437

Earlier quoted context omitted.

Didn't work because asymmetric upload/download speeds (which now are a thing of the past; however, it gave youtube an early advantage).

Now largely more feasible. We should try again.

Would you like to work with me to create OurTube?

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#450

Earlier quoted context omitted.

I have no problems with YouTube at all. Perhaps it's because I pay for Premium (primarily to get YouTube music). Regardless, Google services getting worse over time is becoming a law rather than a tendency.

I don't get the value ad of youtube music. Everything's already on youtube and they let you make playlists, and they have playlists of the top charts already. What else does youtube music get you? I can play on my phone with the screen off with yt vanced ( and I would never pay just for that feature, because I remember when it was free and they took it away )

You get music discovery, radios, go to album, go to artist
Post reply on HN