|
@@ -124,12 +124,16 @@ function SidebarProjectVideo( editor ) {
|
|
|
|
|
|
function save( blob, filename ) {
|
|
|
|
|
|
+ if ( link.href ) {
|
|
|
+
|
|
|
+ URL.revokeObjectURL( link.href );
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
link.href = URL.createObjectURL( blob );
|
|
|
link.download = filename;
|
|
|
link.dispatchEvent( new MouseEvent( 'click' ) );
|
|
|
|
|
|
- // URL.revokeObjectURL( url ); breaks Firefox...
|
|
|
-
|
|
|
}
|
|
|
|
|
|
//
|