Frage

How we convert Bright Cove video duration to HH:MM:SSS in Javascript?

War es hilfreich?

Lösung

Brightcove's API returns the duration in milliseconds. Divide by 1000 then apply one of the answers for formatting seconds as HH:MM:SS e.g. JavaScript seconds to time string with format hh:mm:ss

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top