Skip to content

Commit 56a4715

Browse files
committed
chore: 3.0.0-rc.4 and docs fix
1 parent 85a38d6 commit 56a4715

File tree

10 files changed

+20
-15
lines changed

10 files changed

+20
-15
lines changed

.stackblitz/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"nuxt": "^3.11.2"
1212
},
1313
"dependencies": {
14-
"@nuxtjs/cloudinary": "^3.0.0-rc.3"
14+
"@nuxtjs/cloudinary": "^3.0.0-rc.4"
1515
}
1616
}

.stackblitz/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,10 +1169,10 @@
11691169
vite-plugin-checker "^0.6.4"
11701170
vue-bundle-renderer "^2.0.0"
11711171

1172-
"@nuxtjs/cloudinary@^3.0.0-rc.3":
1173-
version "3.0.0-rc.3"
1174-
resolved "https://registry.yarnpkg.com/@nuxtjs/cloudinary/-/cloudinary-3.0.0-rc.3.tgz#360bd36f96630d79fe80dde35b923401c1e80046"
1175-
integrity sha512-ZkiMwb8dpFLf9aYEtBZlqjpabw3mrlb2SaJ/8blzMHMgxCz9/ExEjV1IJ70qkNJ2LkeUJdebt+uBE1PL51yObg==
1172+
"@nuxtjs/cloudinary@^3.0.0-rc.4":
1173+
version "3.0.0-rc.4"
1174+
resolved "https://registry.yarnpkg.com/@nuxtjs/cloudinary/-/cloudinary-3.0.0-rc.4.tgz#1349ce2d7aae9b1281ba3dedc4538d0b51a8a2c7"
1175+
integrity sha512-MR9Nth1u65u31W0Ia0C4lPJpdHRvtHQ9d0ETKnEg7xNNrYE/TL5C5Pollp9EJwGO1eqtyLnU6Blj2gB2Qjh/BA==
11761176
dependencies:
11771177
"@cloudinary-util/types" "1.0.2"
11781178
"@cloudinary-util/url-loader" "^5.3.1"

docs/components/content/ColoredVideoPlayer.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<template>
22
<CldVideoPlayer
3+
id="2"
34
width="1620"
45
height="1080"
56
src="videos/mountain-stars"

docs/components/content/VideoPlayerWithChapters.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const chapters = {
88

99
<template>
1010
<CldVideoPlayer
11+
id="5"
1112
width="1620"
1213
height="1080"
1314
src="videos/dog-running-snow"
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<template>
22
<CldVideoPlayer
3+
id="3"
34
width="1620"
45
height="1080"
56
src="videos/mountain-stars"
67
font-face="Source Serif Pro"
7-
:on-pause="({ player }) => console.log(`current time: ${player.currentTime()}`)"
8+
:on-pause="
9+
({ player }) => console.log(`current time: ${player.currentTime()}`)
10+
"
811
/>
912
</template>

docs/content/2.components/CldVideoPlayer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The basic required props include `width`, `height`, and `src`:
1414
<CldVideoPlayer width="1920" height="1080" src="<Public ID>" />
1515
```
1616

17-
:cld-video-player{src="videos/mountain-stars" width="900" height="900" style="aspect-ratio: 1620 / 1080"}
17+
:cld-video-player{src="videos/mountain-stars" width="900" height="900" style="aspect-ratio: 1620 / 1080" id="1"}
1818

1919
## Customization
2020

@@ -75,7 +75,7 @@ Picture-in-picture helps your viewers continue their multitasking agenda and mai
7575
/>
7676
```
7777

78-
:cld-video-player{src="videos/mountain-stars" width="900" height="900" style="aspect-ratio: 1620 / 1080" pictureInPictureToggle}
78+
:cld-video-player{src="videos/mountain-stars" width="900" height="900" style="aspect-ratio: 1620 / 1080" pictureInPictureToggle id="4"}
7979

8080
## Chapters
8181

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
"typescript": "^5.4.5"
1818
},
1919
"dependencies": {
20-
"@nuxtjs/cloudinary": "^3.0.0-rc.3"
20+
"@nuxtjs/cloudinary": "^3.0.0-rc.4"
2121
}
2222
}

docs/pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxtjs/cloudinary",
3-
"version": "3.0.0-rc.3",
3+
"version": "3.0.0-rc.4",
44
"description": "Cloudinary module for Nuxt",
55
"license": "MIT",
66
"type": "module",

src/runtime/components/CldVideoPlayer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ defineExpose({
216216
useHead({
217217
script: [
218218
{
219-
id: 'cloudinary-videoplayer',
219+
id: `cloudinary-videoplayer-${playerId}`,
220220
src: `https://unpkg.com/cloudinary-video-player@${version}/dist/cld-video-player.min.js`,
221221
onload: handleOnLoad,
222222
onerror: e =>

0 commit comments

Comments
 (0)