Support gifs and stills in filmout

This commit is contained in:
mmcwilliams 2019-07-24 22:00:23 -04:00
parent b5da7ba233
commit 97591b1c1d
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,7 @@
'use strict';
/**
* Determine the greatest common denominator
*/
function gcd(a, b) {
if (b === 0)
return a;
@ -34,7 +37,8 @@ let filmout;
class FilmOut {
constructor() {
this.id = 'filmout';
this.extensions = ['.mpg', '.mpeg', '.mov', '.mkv', '.avi', '.mp4', '.gif',
this.extensions = ['.mpg', '.mpeg', '.mov', '.mkv', '.avi', '.mp4',
'.gif',
'.tif', '.tiff', '.png', '.jpg', '.jpeg', '.bmp'];
this.displays = [];
this.state = {