# YouTube Video Duration

**URL:** <https://community.glideapps.com/t/youtube-video-duration/71314>\
**Category:** Ask for Help\
**Created:** [March 1, 2024, 8:46am UTC](https://community.glideapps.com/t/youtube-video-duration/71314 "2024-03-01T08:46:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nstnct](https://avatars.discourse-cdn.com/v4/letter/n/ea666f/32.png) [@nstnct](https://community.glideapps.com/u/nstnct)\
**Post date:** [March 1, 2024, 8:46am UTC](https://community.glideapps.com/t/youtube-video-duration/71314/1 "2024-03-01T08:46:10Z")

</div>

Hello,

Does anybody know if there is a way to get the duration of a YouTube video that uses the Video component in Glide Pages?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 2, 2024, 12:35am UTC](https://community.glideapps.com/t/youtube-video-duration/71314/2 "2024-03-02T00:35:57Z")

</div>

You would have to do an API call to get that info.

> **[Videos  |  YouTube Data API  |  Google for Developers](https://developers.google.com/youtube/v3/docs/videos#contentDetails.duration)**

And even at that point, you must convert that back to a format you can display, since YouTube uses ISO 8601 duration.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [March 14, 2024, 9:59am UTC](https://community.glideapps.com/t/youtube-video-duration/71314/3 "2024-03-14T09:59:42Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
