Embedding youtube causes continuous get_screen_availability requests in the network panel

reproducible:

With an open console in chrome, it causes a memory leak after an hour or so.

Can someone explain why this is happening and why this challenge is so common?

enter image description here

+4
source share
3 answers

This is caused by player polling. It checks if my connected smart TV is turned on or not. Thus, it can hide / show the remote screen button on the player.

0
source

HTML5 youtube iframe ~ 10 , , - Flash HTML5 (: WebSockets ).

, iframe YouTube HTML5. , .

get_screen_availability polling

0

, googling . ( , YT ). ~ 5 . (FF) , YouTube .

, : https://support.google.com/youtube/answer/3230451?hl=en
On computer, . FF, .

0
source

Source: https://habr.com/ru/post/1547181/


All Articles