I have trouble watching things without subtitles. I dislike most video players on websites since they don't give you the option to search for or manually upload subtitles.
This and other inconveniences motivated me to make a browser extension to fix bad video players on the internet. It works by replacing the video player with a custom one. It also allows me to see what the manifest URL is and what headers it uses so I can copy it over to VLC if I need to.
The extension is available on Github, you can find it here
Nice extension! It would be cool if it could also re-render the page to be _just_ the video player (thus solving the problem in the Gist, with all the ads).
About subtitles: in case an m3u8 stream has them, you can ask VLC to render them with a flag like `--sub-track 0`
Thanks! You can already do that. Open a new tab, and then click the icon to make the player appear. It will fill the whole tab. Then use another tab to find videos on other websites. The new-tab player will automatically collect sources and you can play it by using the sources browser tool. You can then close the tab with the original website.
> I have trouble watching things without subtitles.
Having subtitles is very convenient. I don’t have to worry about the volume. I can shift back and forth between listening while being busy with something else or reading them. Also, when it comes to movies, a lot of the time the SFX volume is louder than the people's voices, and unless you want to be that annoying neighbor, you have to keep the remote controller in hand to adjust the volume accordingly.
Most sites still use a player that fetches a ".m3u8" or ".mpd" manifest file. The extension monitors webRequests and triggers when it sees a request to such a file.
I'm sure children can distinguish fiction from reality better than adults give them credit for. Sure, it's possible for a kid to mimic a violent kid's show from time to time. But such incidents are rare, and seem to coincide with poor parenting for the most part.
That said, I find it reasonable to think that children may have an underdeveloped capacity to understand sophisticated phenomena such as social norms. I remember that I didn't truly understand the dynamic nature of social norms till middle school. Children can be quite trusting when it comes to moral instruction. In that sense, perhaps one can justify "sanitizing" stories for an audience with impaired discernment.
You won't gain additional momentum from a loose belt. But a loose belt may give your body the chance to slip out. The impulse you feel from a tight belt will be no less than the impulse you feel from a loose one.
Impulse is constant, its the force that is transferred to your body. This is constant whether or not a belt is worn.
A belt simply takes that force and redistributes it into the seat frame, if the belt is not worn the force is not redistributed by the belt but rather by your head into the overhead bin
The impact is a matter of energy, not of force- if the force applies for more than an instant, you keep accelerating before hitting the ceiling and the energy of the impact will be proportional to the square of your speed. If the belt is tight, you stop at a lower speed (relative to the aircraft) and the energy of the impact (with the belt, in this case) is lower.
It's like debt. If I'm standing on the ground, I'm constantly "making payments" to the ground. If I jump off a cliff, then while I am falling, I stop making payments, so when I next contact the ground, accumulated debt suddenly must be paid.
More precisely, while I am falling, my velocity and consequently my momentum relative to the Earth steadily increases, which is analogous to debt because I will eventually need to restore the situation in which my momentum relative to the Earth is zero (because that is how people live their lives: at rest relative to the surface of the Earth rather than for example in orbit).
In the same way, the passenger in the airplane must eventually go back to being at rest relative to the airplane, but if the seat belt is very loose, "debt" (momentum relative to the airliner) can be accumulated before all the slack has been taken out of the seat belt.
Yes, the total amount of impulse (change in momentum caused by the environment's pushing on the person) integrated over time is the same regardless of how tight the seat belt is, but it matters whether that impulse is spread out over time or comes in one big jolt.
That doesn't make sense. Force is not accumulated by people standing on the ground, so your later analogy does not work at all
The ground opposes the force produced by gravity, there is no accumulation of anything. Gravity accelerates mass when it is pulling it in motion unless there is an equal and opposite force which is the normal force exerted by the ground (or airplane)
Biological systems are not "engineered" in the same way a computer is. Computer chips, despite all their complexity, are designed to be understood by humans - they are modular, and abstract-able to facilitate design. Biological systems do not have these properties unless it is advantageous for the task at hand. You often have systems where everything interacts with everything else in meaningful ways. So it isn't really accurate to directly compare reverse engineering technology to reverse "engineering" nature
I've developed some small extensions for fun. A couple of weeks ago I got an email from ExBoost with the subject "Collaboration To Grow Our Extensions." They wanted me to include their code in my extensions. I quote: "You show mine, I show yours. Zero cost, all win."
I thought it was suspicious and junked the email. It didn't seem any different from the other spam emails I got from scammers.
After reading the books, I thought that there was some sort of underlying political meaning with the way Liu incorporates both philosophy, religion, and real world events (ie, the Cultural Revolution). Then I read the afterword and author interview transcripts where the author explicitly says that there is no such meaning.
> “As a science fiction writer who began as a fan, I do not use my fiction as a disguised way to criticize the reality of the present.”
Given that the author lives under an authoritarian government, I'm not sure if Liu's words should be taken at face value. But officially, a political interpretation of the book wouldn't be the authors intention.
The idea that society itself may be a living intelligent organism is fascinating. It's not a revolutionary idea in nature, (eg: the portuguese man o' war is composed of multiple animals), but when it is applied to human society, it feels mystical. I think this is because our ability to comprehend and interact with the macro level makes human organization feel more artificial. But if the rules of game theory/economics make society inevitable, could it not also be a natural process? Do we individuals control society or does society control us?
Its a bit long but I thought it was completely worth the read. It proceeds in a very gradual series of steps to make the point that societies could very well be conscious :)
Yep. There are some ridiculous web APIs out there that expose all sorts of things you'd think should remain private. Take the Battery Status API for example [1].
IIRC, that one and a number of other lower-level “WTF” APIs were introduced for Firefox OS. They made a little more sense in the context of providing an interface for mobile phones using the browser stack.
This! It is frustrating that web apps like draw.io can't save to file directly using Firefox. It gets old having to save a new file every time you make a change.
Beyond that, the File System API would also allow for streamed downloads directly from the web-app. This would allow for web-apps to generate large download files without having to store a copy on a database (external server or IndexedDB), which is a privacy improvement. The only way to do this now is by using convoluted techniques to essentially do a MITM to a fake endpoint [1].
There is a javascript library for interfacing with Youtube's API directly. It can also run on browsers. Using this, it's pretty easy to create a simple extension that replaces the default video player with your own. You can do a lot to improve your experience this way. I've made one which allows for higher quality streaming, pre-buffering video in the background, more subtitling options, etc... [2] [3].
Wow, faststream works great for normal web players. Doesn't seem to work on any youtube videos when using the ff extension in the store though. Gets stuck loading forever.
Kind of unrelated, but how difficult do you think it would be to hack support for glsl shaders in a browser? I tried to look into it once, but got a bit lost in the media source side of things. My idea was to try to add glsl shaders as post processing to video streams like in mpv but without having to jump through all the hurdles of passing data to mpv.
Yeah all the pieces are already there, but I was trying to make something like a player replacer that would let the user load arbitrary glsl shaders to use. The idea being to provide usable upscaling or filters for weak connections or old videos, correct shaky videos, etc. in real time.
I just found this for fsr [0] which might work for the upscaling use case.
Do you happen to know how well (or at all) the library supports subs/sub notifications and if people have built alternative UIs around that? The default youtube UI for that is a tremendous clunkfest.
I'll check out the Discord server because I want to see cool stuff other people are making, but I have no intention of seriously marketing my extension. I don't really want it to "take off" and become popular.
To me, FastStream is just a fun hobby project, not a product. I intend to always keep it free without unnecessary bloat or spyware of any kind. So, I don't really have a desire for it to be "successful" beyond it being immediately useful to me and a couple of my friends.
This and other inconveniences motivated me to make a browser extension to fix bad video players on the internet. It works by replacing the video player with a custom one. It also allows me to see what the manifest URL is and what headers it uses so I can copy it over to VLC if I need to.
The extension is available on Github, you can find it here
https://github.com/Andrews54757/FastStream