Upgraded dependencies, bumped to Node 24.
This commit is contained in:
@@ -1,16 +1,6 @@
|
||||
<template>
|
||||
<video
|
||||
ref="player"
|
||||
:poster="poster"
|
||||
class="player video-js vjs-big-play-centered"
|
||||
@playing="emit('play')"
|
||||
@pause="emit('pause')"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, watch, onMounted } from 'vue';
|
||||
import videoJs from 'video.js';
|
||||
import { onMounted, ref, watch } from 'vue';
|
||||
// import 'videojs-vr/dist/videojs-vr.min';
|
||||
|
||||
import getPath from '#/src/get-path.js';
|
||||
@@ -66,6 +56,16 @@ watch(() => props.video, () => updatePlayer());
|
||||
watch(() => props.poster, () => updatePlayer());
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<video
|
||||
ref="player"
|
||||
:poster="poster"
|
||||
class="player video-js vjs-big-play-centered"
|
||||
@playing="emit('play')"
|
||||
@pause="emit('pause')"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.player.video-js {
|
||||
.vjs-poster {
|
||||
|
||||
Reference in New Issue
Block a user