Add audio player (#11644)
This commit is contained in:
parent
73ca0bb925
commit
4190e31626
12 changed files with 337 additions and 15 deletions
|
@ -21,7 +21,7 @@ const messages = defineMessages({
|
|||
exit_fullscreen: { id: 'video.exit_fullscreen', defaultMessage: 'Exit full screen' },
|
||||
});
|
||||
|
||||
const formatTime = secondsNum => {
|
||||
export const formatTime = secondsNum => {
|
||||
let hours = Math.floor(secondsNum / 3600);
|
||||
let minutes = Math.floor((secondsNum - (hours * 3600)) / 60);
|
||||
let seconds = secondsNum - (hours * 3600) - (minutes * 60);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue