Greasy Fork is available in English.

Обсуждения » Хотелки

Video size information script

Video size information script

Hi,I have a script request from people who interest with this request.Can you create a script that it can display what size(kb or mb) of the video while we are watching the video on all sites.So it gives us the information about the size of watched videos especially for people who have limited internet.Thank you.

Hey mozkan007,

YouTube unfortunately does not provide this information anywhere, so no script creator could expose this information to a user, but simple math calculations could be made which would give a reasonably close estimate, based on which quality you choose to view the video in. I have done a quick comparison and at 720p, a typical YouTube video averages out to 169KB per second, so a 1 minute video at 720p would equal 10.14MB. At 480p, this is 65KBps, so a minute video would be very close to 3.9MB.

Hope this helps a lot!
Daniel.

Also, thank you for this reply.

Ответить

Войдите, чтобы ответить.