Skip to content
This repository was archived by the owner on Dec 6, 2018. It is now read-only.

Commit 7bfff89

Browse files
authored
Merge pull request #268 from andrebonon/issue266
Removes the image && video check to enable the IE11 fallback
2 parents 2f8e9d2 + c585fa2 commit 7bfff89

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/embed/scene-info.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ SceneInfo.prototype.isValid = function() {
9494
this.errorMessage = 'Either image or video URL must be specified.';
9595
return false;
9696
}
97-
if (this.image && this.video) {
98-
this.errorMessage = 'Both image and video URL can\'t be specified.';
99-
return false;
100-
}
10197
if (this.image && !this.isValidImage_(this.image)) {
10298
this.errorMessage = 'Invalid image URL: ' + this.image;
10399
return false;

0 commit comments

Comments
 (0)