Not a long time ago I discovered type-challenges for myself. Today I’ll show not only the implementation of
Get, but also some common issues with the implementation, improvements and its usage in production.
As I said, there’s a repo on GitHub: type-challenges. The current challenge is located in the “hard” category.
Here we work only with objects (as the solution doesn’t require accessing arrays and tuples) and also we always can access object keys as they are defined in test cases.
So what should we start then from?
Joyn (previously 7TV) is German “Netflix” which has films, TV series and live TV.
Did you hear anything about code obfuscation? Let’s have a look at Joyn video player and how they use that in production.
Let’s open any TV series and see what scripts are in Network panel of DevTools. There are scripts which are loaded from
I’ve discovered Udemy as a service around 5–6 years ago. Below you can read what I found interesting having a look at the player during several hours.
The Web Video Text Tracks Format, or WebVTT, is a specification to mark up external text track resources and put them to
VTT-files look like that:
Developing video player in Yandex, I’m not always limited to what we do but also wondering what technologies and techniques are used in other companies. As I like England I investigated the player of BBC, well-known quite a big company. Unfortunately I haven’t used it before, but maybe this is why I’m going to tell you how it’s working.
iPlayer is working only in the UK. After going to The Graham Norton Show you’ll see this:
Today I had an hour of my free time to learn how Amazon Prime Video Player is working. I’ll show you my small investigation of what I found.
Playing and pausing is the core functionality of the player. Therefore it’s easy to get where the main script is situated by doing the following:
The basic ideas of nanoutils:
Size is important as download time depends on it
One Saturday afternoon I started researching top 20 of @WTA players' site structure, its performance and tried to come up with something better (image loading, adaptive layout, etc)
And it turned out most of websites use Wordpress?!
As for me, very configurable and easy way to understand as a frontend developer. …
One day some designers provide you with beautiful mock-ups 🌠 and … custom macOS-like scrollbars which look like:
But maybe on the left, smaller or bigger, with different indents dependent on whether it’s mobile 📱, desktop 🖥️ or TV screen 📺 Asking more?
But the reality is… a customisation of scrollbars remains same since the end of 90s. If my dad was programming, he would make fun of me all day while I found the solution to make everything universal and stable. It’s 2020 and it’s still a PITA.
Probably you also forgot to replace your old mail with the new one. Or commited and pushed the code from your working laptop. It’s totally fine, you’re not alone.
git clone --bare https://github.com/repo.git
2. Create a script file:
3. Fill the file with the content:
#!/bin/shgit filter-branch --env-filter '
CORRECT_NAME="Your Correct Github username, i.e. BerAlIv"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]
' --tag-name-filter cat -- --branches --tags
You can also change conditions to: