File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,10 @@ export declare type ExtFile = {
7777 file. If defined, the download icon will be shown.
7878 */
7979 downloadUrl ?: string ;
80+ /**
81+ * Link, URI, FIle object or string representation of a video
82+ */
83+ videoUrl ?: string ;
8084}
8185
8286/**
@@ -153,6 +157,11 @@ export class ExtFileInstance {
153157 * In case onDownload prop is given
154158 */
155159 public downloadUrl ?: string ;
160+ /**
161+ * Link, URI, FIle object or string representation of a video
162+ */
163+ public videoUrl ?: string ;
164+
156165 constructor ( extFile : ExtFile ) {
157166 const {
158167 id,
@@ -170,7 +179,7 @@ export class ExtFileInstance {
170179 extraData,
171180 extraUploadData,
172181 serverResponse,
173- downloadUrl
182+ downloadUrl, videoUrl
174183 } = extFile ;
175184
176185 this . id = id ;
@@ -192,6 +201,7 @@ export class ExtFileInstance {
192201 this . serverResponse = serverResponse ;
193202
194203 this . downloadUrl = downloadUrl ;
204+ this . videoUrl = videoUrl ;
195205 }
196206 /**
197207 * method under construction
You can’t perform that action at this time.
0 commit comments