@christianriedl/media 1.0.202 → 1.0.204

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.202",
3
+ "version": "1.0.204",
4
4
  "description": "RIC media interfaces",
5
5
 
6
6
  "main": "dist/index.js",
@@ -9,7 +9,7 @@
9
9
  const booksService = getBooksService() as BooksService;
10
10
  const isAdmin = !!(appState.scopes & EScope.Admin);
11
11
  const isMobile = appState.isMobile && (appState.device != EDevice.iPad);
12
- const isPortrait = computed(() => isMobile.value && appState.pageHeight.value > appState.pageWidth.value);
12
+ const isPortrait = computed(() => isMobile && appState.pageHeight.value > appState.pageWidth.value);
13
13
 
14
14
  interface Regal {
15
15
  faecher: IPlace[];
@@ -69,7 +69,7 @@
69
69
  <p>{{selected.gN}}</p>
70
70
  </v-col>
71
71
  <v-col cols="3">
72
- <v-text-field label="Titel" v-model="title" hide-details density="compact"></v-text-field>
72
+ <v-text-field label="Titel" v-model="title" hide-details clearable density="compact"></v-text-field>
73
73
  </v-col>
74
74
  <v-col cols="2">
75
75
  <v-select label="Status" v-model="flags" :items="booksService.flags" hide-details density="compact" single-line ></v-select>
@@ -97,6 +97,10 @@
97
97
  <v-col cols="4">IP Address</v-col>
98
98
  <v-col cols="8">{{info.ipAddress}}</v-col>
99
99
  </v-row>
100
+ <v-row dense class="font-weight-bold">
101
+ <v-col cols="4">Public document directories</v-col>
102
+ <v-col cols="8">{{info.publicDocumentRoots}}</v-col>
103
+ </v-row>
100
104
  <v-row dense class="font-weight-bold">
101
105
  <v-col cols="4">Number of list items</v-col>
102
106
  <v-col cols="8">{{info.listItemCount}}</v-col>
@@ -195,7 +195,7 @@
195
195
  }
196
196
  async function onShare(item: IMediaItem) {
197
197
  const file = item as IVideoFile;
198
- const url = `https://www.christian-riedl.com/photos/video?media=${file.url}&width=${file.width}&height=${file.height}&videobitrate=`;
198
+ const url = `https://www.christian-riedl.com/photos/video?media=${encodeURIComponent(file.url)}&width=${file.width}&height=${file.height}&videobitrate=2046`;
199
199
  await window.navigator.clipboard.writeText(url);
200
200
  window.alert(`Created and Pasted : ${url} !`);
201
201
  }