diff --git a/RecordRTC.js b/RecordRTC.js index a71d5128..c9a815f3 100644 --- a/RecordRTC.js +++ b/RecordRTC.js @@ -4552,7 +4552,7 @@ if (typeof RecordRTC !== 'undefined') { // GifRecorder.js /** - * GifRecorder is standalone calss used by {@link RecordRTC} to record video or canvas into animated gif. + * GifRecorder is standalone class used by {@link RecordRTC} to record video or canvas into animated gif. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef GifRecorder diff --git a/dev/GifRecorder.js b/dev/GifRecorder.js index 72336396..14489933 100644 --- a/dev/GifRecorder.js +++ b/dev/GifRecorder.js @@ -2,7 +2,7 @@ // GifRecorder.js /** - * GifRecorder is standalone calss used by {@link RecordRTC} to record video or canvas into animated gif. + * GifRecorder is standalone class used by {@link RecordRTC} to record video or canvas into animated gif. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef GifRecorder diff --git a/dist/RecordRTC.js b/dist/RecordRTC.js index 07e02630..1006fff5 100644 --- a/dist/RecordRTC.js +++ b/dist/RecordRTC.js @@ -4651,7 +4651,7 @@ if (typeof RecordRTC !== 'undefined') { // GifRecorder.js /** - * GifRecorder is standalone calss used by {@link RecordRTC} to record video or canvas into animated gif. + * GifRecorder is standalone class used by {@link RecordRTC} to record video or canvas into animated gif. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef GifRecorder diff --git a/dist/RecordRTC.min.js b/dist/RecordRTC.min.js index 8b3fe6b7..210977fd 100644 --- a/dist/RecordRTC.min.js +++ b/dist/RecordRTC.min.js @@ -210,7 +210,7 @@ var B=function(){function e(e){this.frames=[],this.duration=e||1,this.quality=.8 * @see {@link https://github.com/muaz-khan/RecordRTC|RecordRTC Source Code} */var O={init:function(){var e=this;if("undefined"!=typeof indexedDB&&void 0!==indexedDB.open){var t,o=this.dbName||location.href.replace(/\/|:|#|%|\.|\[|\]/g,""),i=indexedDB.open(o,1);i.onerror=e.onError,i.onsuccess=function(){((t=i.result).onerror=e.onError,t.setVersion)?1!==t.version?t.setVersion(1).onsuccess=function(){n(t),r()}:r():r()},i.onupgradeneeded=function(e){n(e.target.result)}}else console.error("IndexedDB API are not available in this browser.");function n(t){t.createObjectStore(e.dataStoreName)}function r(){var o=t.transaction([e.dataStoreName],"readwrite");function i(t){o.objectStore(e.dataStoreName).get(t).onsuccess=function(o){e.callback&&e.callback(o.target.result,t)}}e.videoBlob&&o.objectStore(e.dataStoreName).put(e.videoBlob,"videoBlob"),e.gifBlob&&o.objectStore(e.dataStoreName).put(e.gifBlob,"gifBlob"),e.audioBlob&&o.objectStore(e.dataStoreName).put(e.audioBlob,"audioBlob"),i("audioBlob"),i("videoBlob"),i("gifBlob")}},Fetch:function(e){return this.callback=e,this.init(),this},Store:function(e){return this.audioBlob=e.audioBlob,this.videoBlob=e.videoBlob,this.gifBlob=e.gifBlob,this.init(),this},onError:function(e){console.error(JSON.stringify(e,null,"\t"))},dataStoreName:"recordRTC",dbName:null}; /** - * GifRecorder is standalone calss used by {@link RecordRTC} to record video or canvas into animated gif. + * GifRecorder is standalone class used by {@link RecordRTC} to record video or canvas into animated gif. * @license {@link https://github.com/muaz-khan/RecordRTC/blob/master/LICENSE|MIT} * @author {@link https://MuazKhan.com|Muaz Khan} * @typedef GifRecorder