mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-12-01 15:37:29 +00:00
21 lines
387 B
Vue
21 lines
387 B
Vue
<template>
|
|
<div style="color: #fff; font-size: 0.75rem">
|
|
{{ $vuetube.humanTime(currentTime) }}
|
|
<span style="color: #aaa"> / {{ $vuetube.humanTime(duration) }} </span>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
duration: {
|
|
type: Number,
|
|
required: true,
|
|
},
|
|
currentTime: {
|
|
type: Number,
|
|
required: true,
|
|
},
|
|
},
|
|
};
|
|
</script>
|