Here's a Firefox file [1] specifically for integrating YouTube videos into their picture-in-picture system. Your random video website won't get this treatment of course, need to be a popular one.
Here's a piece of C++ code [2] in the Firefox engine that specifically rewrites old YouTube embeds from their old HTML embed snippet to the new one. Again, your own video website will never be so deeply integrated into Firefox because it's not a top 10 website.
Firefox Readability mode makes pages more readable by removing useless stuff like videos. Unless it's a YouTube [3] or other top-N popular video website of course. YouTube videos are given special treatment because it's popular and having small integrations like this make the user experience better.
gkbrk|5 days ago
Here's a Firefox file [1] specifically for integrating YouTube videos into their picture-in-picture system. Your random video website won't get this treatment of course, need to be a popular one.
Here's a piece of C++ code [2] in the Firefox engine that specifically rewrites old YouTube embeds from their old HTML embed snippet to the new one. Again, your own video website will never be so deeply integrated into Firefox because it's not a top 10 website.
Firefox Readability mode makes pages more readable by removing useless stuff like videos. Unless it's a YouTube [3] or other top-N popular video website of course. YouTube videos are given special treatment because it's popular and having small integrations like this make the user experience better.
[1]: https://github.com/mozilla-firefox/firefox/blob/1f43fe5ffadd...
[2]: https://github.com/mozilla-firefox/firefox/blob/1f43fe5ffadd...
[3]: https://github.com/mozilla-firefox/firefox/blob/1f43fe5ffadd...