2022-05-28 05:16:27 +00:00
|
|
|
<template>
|
|
|
|
<div
|
2022-06-07 18:29:57 +00:00
|
|
|
style="color: #fff; left: 1rem; font-size: 0.75rem; position: absolute"
|
|
|
|
:style="fullscreen ? 'bottom: 4.25rem' : 'bottom: 1rem'"
|
2022-05-28 05:16:27 +00:00
|
|
|
>
|
2022-06-08 16:36:32 +00:00
|
|
|
{{ $vuetube.humanTime(currentTime) }}
|
|
|
|
<span style="color: #aaa"> / {{ $vuetube.humanTime(duration) }} </span>
|
2022-05-28 05:16:27 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
2022-06-07 18:29:57 +00:00
|
|
|
props: {
|
|
|
|
fullscreen: {
|
|
|
|
type: Boolean,
|
|
|
|
required: true,
|
|
|
|
},
|
2022-06-08 15:59:43 +00:00
|
|
|
duration: {
|
|
|
|
type: Number,
|
|
|
|
required: true,
|
|
|
|
},
|
2022-06-08 16:36:32 +00:00
|
|
|
currentTime: {
|
2022-06-08 15:59:43 +00:00
|
|
|
type: Number,
|
|
|
|
required: true,
|
|
|
|
},
|
2022-05-28 05:16:27 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|