You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
When I get the length of the video with the lengthSeconds variable of the YoutubeMeta class,
(200hour video)
https://www.youtube.com/watch?v=mivcDoTjpQE
The actual length of this video is 720000 seconds.
However, the received length is 654332 seconds.
It looks like a bug.
============================
However, another long video
(100hour video)
https://www.youtube.com/watch?v=56lkofpjOAs
It takes 360000 seconds well.
============================
I additionally in youtube data api
I found the length of the video at https://www.googleapis.com/youtube/v3/videos?part=contentDetail,
"YoutubeMeta.lengthSeconds" in this library
1 second less than or equal to the length of the video in the youtube data api.
Perhaps this library is the length of the video taken from the player, and the YouTube data api seems to store the length of the player differently.
The text was updated successfully, but these errors were encountered: