Oops, missing deferred
parent
ceaa3aaca4
commit
41336a9de6
|
@ -148,6 +148,8 @@ function infoForImageFile(matrixClient, roomId, imageFile) {
|
|||
* @return {Promise} A promise that resolves with the video image element.
|
||||
*/
|
||||
function loadVideoElement(videoFile) {
|
||||
const deferred = Promise.defer();
|
||||
|
||||
// Load the file into an html element
|
||||
const video = document.createElement("video");
|
||||
|
||||
|
|
Loading…
Reference in New Issue