Closed edgarbarcenas closed 2 years ago
I solved the problem by editing the plugin directly on line: 174 at the end of the object's plugin object
MP4: 'mp4'
-at line: 281 of the bundle.js file
Add below
[FILE_EXTENSION.MP3]: ENCODING.BINARY
-add the following line of code inside the object
EXTENSION_TO_ENCODING
[FILE_EXTENSION.MP4]: ENCODING.BINARY
With that the plugin encoded mp4 files
@edgarbarcenas please note that once you do npm install
these changes will be overwritten.
There is an API exposed for that matters:
el.attachFile({/* other params you need */, encoding: 'binary' });
Current behavior:
Problem encoding a video
Desired behavior:
When uploading a video from an input file it does not encode it
Versions