Get total length of a video #811
Answered
by
cjpillsbury
muhammadmahad-debug
asked this question in
Q&A
-
that is my event how can I get totalLength of a video |
Beta Was this translation helpful? Give feedback.
Answered by
cjpillsbury
Nov 9, 2023
Replies: 1 comment 2 replies
-
try something like here's the API reference https://github.com/muxinc/elements/blob/main/packages/mux-player/REFERENCE.md#properties |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey @muhammadmahad-debug, unless I'm misunderstanding, 606.3 is the duration in seconds, which would be 10 minutes and 6 seconds (aka 60 * 10 + 6) or 10:06, rounded to the nearest second. Let me know if I'm missing something here.