@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christianriedl/media",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
4
4
  "description": "RIC media interfaces",
5
5
 
6
6
  "main": "dist/index.js",
@@ -98,7 +98,7 @@
98
98
  computeListHeight();
99
99
  }
100
100
  async function onShare(item: IMediaItem) {
101
- const file = items as IVideoFile;
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} !`);
@@ -205,7 +205,7 @@
205
205
  }
206
206
  }
207
207
  async function onShare(item: IMediaItem) {
208
- const file = items as IVideoFile;
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} !`);