File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1111 "nuxt" : " ^3.8.0"
1212 },
1313 "dependencies" : {
14- "@nuxtjs/cloudinary" : " ^2.4.2 "
14+ "@nuxtjs/cloudinary" : " ^2.4.3 "
1515 }
1616}
Original file line number Diff line number Diff line change 11621162 vite-plugin-checker "^0.6.2"
11631163 vue-bundle-renderer "^2.0.0"
11641164
1165- " @nuxtjs/cloudinary@^2.4.2 " :
1166- version "2.4.2 "
1167- resolved "https://registry.yarnpkg.com/@nuxtjs/cloudinary/-/cloudinary-2.4.2 .tgz#73c766d1e7538d6b79d4596ae17aacec7e4384f1 "
1168- integrity sha512-P02zyAMN9VazRSaZryXXoCpVmT4kJtVKprI5wJvdo2I100BizHAsy6QSAt50VXaEaft4K2hA2Mtb5xqtvkh8vA ==
1165+ " @nuxtjs/cloudinary@^2.4.3 " :
1166+ version "2.4.3 "
1167+ resolved "https://registry.yarnpkg.com/@nuxtjs/cloudinary/-/cloudinary-2.4.3 .tgz#8adb778f6c1c8dd4d45d48ec1b5a0e1ceebafc2e "
1168+ integrity sha512-sBXYjEAaCjjrfMPZZjcQzZ5CqTyJF+LLDX3H3DuRwyMzi56Epmcu0RmVXHMKT6eFs0azBovLo0cq2KG6PbOQfQ ==
11691169 dependencies :
11701170 " @cloudinary-util/url-loader" " ^3.10.0"
11711171 " @nuxt/kit" " ^3.5.0"
Original file line number Diff line number Diff line change 11{
22 "name" : " @nuxtjs/cloudinary" ,
3- "version" : " 2.4.2 " ,
3+ "version" : " 2.4.3 " ,
44 "description" : " Cloudinary module for Nuxt" ,
55 "license" : " MIT" ,
66 "type" : " module" ,
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import { ref , Ref } from " vue" ;
2+ import { ref } from " vue" ;
33import { useHead } from " @unhead/vue" ;
44import { useRuntimeConfig } from " #imports" ;
55import { parseUrl } from " @cloudinary-util/util" ;
@@ -61,10 +61,10 @@ export type CldVideoPlayerProps = Pick<
6161 onPause? : Function ;
6262 onPlay? : Function ;
6363 onEnded? : Function ;
64- playerRef? : Ref < CloudinaryVideoPlayer | null > ;
64+ playerRef? : { value : CloudinaryVideoPlayer | null } ;
6565 src: string ;
6666 version? : string ;
67- videoRef? : Ref < HTMLVideoElement | null > ;
67+ videoRef? : { value : HTMLVideoElement | null } ;
6868 quality? : string | number ;
6969 width: string | number ;
7070};
@@ -131,9 +131,9 @@ playerTransformations.unshift({
131131});
132132
133133const cloudinaryRef = ref <any >();
134- const defaultVideoRef = ref () as Ref < HTMLVideoElement | null > ;
134+ const defaultVideoRef = ref ();
135135const videoRef = props .videoRef || defaultVideoRef ;
136- const defaultPlayerRef = ref () as Ref < CloudinaryVideoPlayer | null > ;
136+ const defaultPlayerRef = ref ();
137137const playerRef = props .playerRef || defaultPlayerRef ;
138138
139139const playerId = id || ` player-${publicId .replace (" /" , " -" )}-${idRef .value } ` ;
You can’t perform that action at this time.
0 commit comments