0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-09 04:55:07 +00:00
VueTube/NUXT/components/Player/watchtime.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>