-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,7 @@ const cldVideoRef = ref(); | |
</script> | ||
|
||
<template> | ||
<button :id="buttonId"> | ||
Select Image or Video | ||
</button> | ||
<button :id="buttonId">Select Image or Video</button> | ||
Check warning on line 18 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
Check warning on line 18 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
Check warning on line 18 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
|
||
<CldMediaLibrary | ||
api-key="12345" | ||
:button-id="buttonId" | ||
|
@@ -29,28 +27,18 @@ const cldVideoRef = ref(); | |
:button-id="buttonId" | ||
/> | ||
<!-- Usage of `CldOgImage.vue` component --> | ||
<CldOgImage | ||
src="cld-sample-2" | ||
twitter-title="test" | ||
/> | ||
<CldOgImage src="cld-sample-2" twitter-title="test" /> | ||
Check warning on line 30 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
|
||
<!-- Usage of `CldVideoPlayer.vue` component --> | ||
<CldVideoPlayer | ||
ref="cldVideoRef" | ||
width="1620" | ||
height="1080" | ||
src="videos/mountain-stars" | ||
pictureInPictureToggle | ||
Check warning on line 37 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
|
||
/> | ||
<!-- Usage of `CldUploadWidget.vue` component --> | ||
<CldUploadWidget | ||
v-slot="{ open }" | ||
upload-preset="nuxt-cloudinary-unsigned" | ||
> | ||
<button | ||
type="button" | ||
@click="open" | ||
> | ||
Upload an Image | ||
</button> | ||
<CldUploadWidget v-slot="{ open }" upload-preset="nuxt-cloudinary-unsigned"> | ||
Check warning on line 40 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
|
||
<button type="button" @click="open">Upload an Image</button> | ||
Check warning on line 41 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
Check warning on line 41 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
Check warning on line 41 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
Check warning on line 41 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
Check warning on line 41 in playground/app.vue GitHub Actions / ci (ubuntu-latest, 16)
|
||
</CldUploadWidget> | ||
<!-- Usage of `CldUploadButton.vue` component --> | ||
<CldUploadButton upload-preset="nuxt-cloudinary-unsigned"> | ||
|