sponsorblock display fix

This commit is contained in:
Nikita Krupin 2022-06-10 00:37:08 -04:00
parent 36aa435749
commit c1870df54e
5 changed files with 4 additions and 26 deletions

View File

@ -304,10 +304,6 @@ export default {
type: Object,
required: true,
},
videoid: {
type: String,
required: true,
},
},
data() {
return {

View File

@ -23,7 +23,7 @@
export default {
props: {
duration: {
type: Object,
type: Number,
required: true,
},
seeking: {

View File

@ -3,8 +3,8 @@
<v-progress-linear
v-for="block in blocks"
:key="block.UUID"
:buffer-value="(block.segment[1] / video.duration) * 100"
:value="(block.segment[0] / video.duration) * 100"
:buffer-value="(block.segment[1] / duration) * 100"
:value="(block.segment[0] / duration) * 100"
style="
position: absolute;
pointer-events: none;
@ -34,7 +34,7 @@ export default {
required: true,
},
duration: {
type: Object,
type: Number,
required: true,
},
seeking: {

View File

@ -8,7 +8,6 @@
ref="player"
:video="video"
:sources="sources"
:videoid="$route.query.v"
/>
</div>

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<runningDeviceTargetSelectedWithDropDown>
<Target>
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="SERIAL_NUMBER" />
<value value="adb-a3727009-qqx3Xy._adb-tls-connect._tcp." />
</Key>
</deviceKey>
</Target>
</runningDeviceTargetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2022-06-09T16:47:50.856340Z" />
</component>
</project>