entcore 4.5.0-dev.2 → 4.5.0-dev.5
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
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
</div>
|
|
46
46
|
<div class="row media-library-toolbar">
|
|
47
47
|
<em class="six cell small-text"><i18n>medialibrary.images.editable.formats</i18n></em>
|
|
48
|
-
<button class="right-magnet" ng-click="confirmImport()" type="button"><i18n>import</i18n></button>
|
|
48
|
+
<button class="right-magnet" ng-click="confirmImport()" ng-disabled="!canConfirmImport()" type="button"><i18n>import</i18n></button>
|
|
49
49
|
<button class="right-magnet cancel" ng-click="cancelUpload()" type="button"><i18n>cancel</i18n></button>
|
|
50
50
|
</div>
|
|
@@ -18,26 +18,38 @@
|
|
|
18
18
|
~
|
|
19
19
|
-->
|
|
20
20
|
|
|
21
|
-
<div class="row media-library">
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
21
|
+
<div class="row media-library">
|
|
22
|
+
<div class="drop-zone import-files">
|
|
23
|
+
<article class="drop flex-row align-center">
|
|
24
|
+
<i class="two cloud-upload"></i>
|
|
25
|
+
<div class="ten help">
|
|
26
|
+
<em><i18n>medialibrary.drop.help2</i18n></em>
|
|
27
|
+
</div>
|
|
28
|
+
</article>
|
|
29
|
+
<article class="default flex-row align-center absolute-position">
|
|
30
|
+
<div class="three select-file">
|
|
31
|
+
<div class="hidden-content">
|
|
32
|
+
<input
|
|
33
|
+
class="upload-input"
|
|
34
|
+
type="file"
|
|
35
|
+
multiple="multiple"
|
|
36
|
+
files-input-change="importFiles()"
|
|
37
|
+
accept="[[display.acceptType]]"
|
|
38
|
+
ng-model="upload.files"
|
|
39
|
+
/>
|
|
40
|
+
</div>
|
|
41
|
+
<button
|
|
42
|
+
class="file-button no-margin"
|
|
43
|
+
translate
|
|
44
|
+
content="library.file.choose"
|
|
45
|
+
ng-click="triggerIpnutFileClick($event)"
|
|
46
|
+
></button>
|
|
47
|
+
</div>
|
|
48
|
+
<i class="two cloud-upload"></i>
|
|
49
|
+
<div class="seven help">
|
|
50
|
+
<em><i18n>medialibrary.drop.help</i18n></em>
|
|
51
|
+
</div>
|
|
52
|
+
</article>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
@@ -10,8 +10,8 @@ export interface Embedder {
|
|
|
10
10
|
export declare const embedderService: {
|
|
11
11
|
_providers: Embedder[];
|
|
12
12
|
getProviders(): Promise<Embedder[]>;
|
|
13
|
-
getHtmlForVideoStream(document: Element): string;
|
|
14
|
-
getHtmlForVideoStreams(documents: Element[]): string;
|
|
13
|
+
getHtmlForVideoStream(document: Element, visibility: "protected" | "public" | "external"): string;
|
|
14
|
+
getHtmlForVideoStreams(documents: Element[], visibility: "protected" | "public" | "external"): string;
|
|
15
15
|
getHtmlForUrl(url: string, returnDefault?: boolean): Promise<string>;
|
|
16
16
|
getHtmlForProvider(embedder: Embedder, url: string): string;
|
|
17
17
|
};
|