When you hover the mouse on the search bar in the player, an image of the current frame is displayed. No XHR requests are sent at this moment. How does the player get this image?
1 Answer
Once you post the cursor over the progress bar, you'll get a image from the current displaying frame.
This is due is made a request
This is an example of the video called "My bad experience in India and my advices for travelers" once I passed the cursor over the progress bar at apporximately "19:10":
You see that there are a few frames that covers the duration once you hover the cursor over the mentioned time.
The url of the given imageis this:
https://i9.ytimg.com/sb/Wkw-Bfg1Fio/storyboard3_L2/M4.jpg?sqp=ovOX_wMGCIbK-9UF&sigh=rs%24AOn4CLAKP9a1L-qPaTpNLVtiq8XeTpKHlw
I'd read at this answer in Stack Overflow that (if I understand correctly) basically the parameters in the string of the URL image is used for set the size of the frame and set the frame in the specific time.
You can check the linked answer for get more information.
