@christianriedl/media 1.0.105 → 1.0.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/views/VideosPage.vue +3 -3
package/package.json
CHANGED
package/src/views/VideosPage.vue
CHANGED
|
@@ -204,8 +204,8 @@
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
async function onShare(item:
|
|
208
|
-
const url = `https://www.christian-riedl.com/photos/video?media=${item.Url}&videobitrate=`;
|
|
207
|
+
async function onShare(item: IVideoFile) {
|
|
208
|
+
const url = `https://www.christian-riedl.com/photos/video?media=${item.Url}&width=${item.Width}&height=${item.Height}&videobitrate=`;
|
|
209
209
|
await window.navigator.clipboard.writeText(url);
|
|
210
210
|
window.alert(`Created and Pasted : ${url} !`);
|
|
211
211
|
}
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
<v-img :src="item.ThumbnailUrl"></v-img>
|
|
270
270
|
</v-avatar>
|
|
271
271
|
</template>
|
|
272
|
-
<template v-slot:append>
|
|
272
|
+
<template v-if="item.Url" v-slot:append>
|
|
273
273
|
<v-btn color="grey" variant="tonal" icon="$share" @click.stop.prevent="onShare(item)"></v-btn>
|
|
274
274
|
<v-btn color="grey" variant="tonal" icon="$info" @click.stop.prevent="onInfo(item)"></v-btn>
|
|
275
275
|
</template>
|