@christianriedl/media 1.0.111 → 1.0.112
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
CHANGED
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
computeListHeight();
|
|
99
99
|
}
|
|
100
100
|
async function onShare(item: IMediaItem) {
|
|
101
|
-
const file =
|
|
101
|
+
const file = item as IVideoFile;
|
|
102
102
|
const url = `https://www.christian-riedl.com/photos/video?media=${file.Url}&width=${file.Width}&height=${file.Height}&videobitrate=`;
|
|
103
103
|
await window.navigator.clipboard.writeText(url);
|
|
104
104
|
window.alert(`Created and Pasted : ${url} !`);
|
package/src/views/VideosPage.vue
CHANGED
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
async function onShare(item: IMediaItem) {
|
|
208
|
-
const file =
|
|
208
|
+
const file = item as IVideoFile;
|
|
209
209
|
const url = `https://www.christian-riedl.com/photos/video?media=${file.Url}&width=${file.Width}&height=${file.Height}&videobitrate=`;
|
|
210
210
|
await window.navigator.clipboard.writeText(url);
|
|
211
211
|
window.alert(`Created and Pasted : ${url} !`);
|