# Youtube video length?

**URL:** <https://forum.newsblur.com/t/youtube-video-length/8860>\
**Category:** question\
**Created:** [July 6, 2021, 1:02pm UTC](https://forum.newsblur.com/t/youtube-video-length/8860 "2021-07-06T13:02:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeC](https://forum.newsblur.com/user_avatar/forum.newsblur.com/mikec/32/734_2.png) [@MikeC](https://forum.newsblur.com/u/MikeC)\
**Post date:** [July 6, 2021, 1:02pm UTC](https://forum.newsblur.com/t/youtube-video-length/8860/1 "2021-07-06T13:02:17Z")

</div>

How does Newsblur determine the length of a Youtube video from a channel’s feed?  
I ask this as I subscribe to the F1 Youtube channel ( [FORMULA 1](https://www.youtube.com/feeds/videos.xml?channel_id=UCB_qr75-ydFVKSF9Dmo6izg) or [Newsblur site](https://beta.newsblur.com/site/5980985/f1)) - the one latest post has a Duration: 1.1019444444444444:00:00  
Was wondering how that was worked out? I don’t see it in the XML content to maybe that’s what is being given from Youtube itself?  
I do know that " Video unavailable Watch on Youtube" is normal on the feed so don’t worry about that.

---

<div class="post-metadata">

**Author:** ![AndrewCovarrubias](https://forum.newsblur.com/user_avatar/forum.newsblur.com/andrewcovarrubias/32/1071_2.png) [@AndrewCovarrubias](https://forum.newsblur.com/u/AndrewCovarrubias)\
**Post date:** [July 7, 2021, 5:53pm UTC](https://forum.newsblur.com/t/youtube-video-length/8860/2 "2021-07-07T17:53:58Z")

</div>

I’ve been seeing the same thing for a while now. I first noticed it around the time I switched to the beta, but it may have been happening longer without me noticing; it definitely happens on both the old and new designs. Attached is a screenshot of the issue.

 ![image](https://forum.newsblur.com/uploads/default/original/2X/7/7523b990a4e80a9577c713d105a81da46895c025.jpeg)

---

<div class="post-metadata">

**Author:** ![thedaveCA](https://forum.newsblur.com/user_avatar/forum.newsblur.com/thedaveca/32/803_2.png) [@thedaveCA](https://forum.newsblur.com/u/thedaveCA)\
**Post date:** [July 13, 2021, 2:41am UTC](https://forum.newsblur.com/t/youtube-video-length/8860/3 "2021-07-13T02:41:28Z")

</div>

It does seem to appear for videos over an hour long.

---

<div class="post-metadata">

**Author:** ![samuelclay](https://forum.newsblur.com/user_avatar/forum.newsblur.com/samuelclay/32/857_2.png) [@samuelclay](https://forum.newsblur.com/u/samuelclay)\
**Post date:** [December 8, 2021, 7:56pm UTC](https://forum.newsblur.com/t/youtube-video-length/8860/4 "2021-12-08T19:56:35Z")

</div>

Thanks for reporting this, this has now been fixed and deployed. It should work retroactively on some videos.

Here’s the ticket:

> <https://github.com/samuelclay/NewsBlur/pull/1541>
>
> The current implementation does not play well with longer durations than 60 seco…nds because the results of the divisions to obtain hours and minutes aren't floored before being multiplied.
> 
> Example:
> \- 3679 seconds is converted to '1.0219444444444445:00:00' instead of '1:01:19'
> \- I believe this is linked to \[this forum topic\](https://forum.newsblur.com/t/youtube-video-length/8860)
