Closed JorViteri closed 3 years ago
You have to add an import statement to be able to use it. Usually you would write that somewhere at the top of your file:
import ysFixWebmDuration from "fix-webm-duration";
Depending on your setup, it could also be:
const ysFixWebmDuration = require("fix-webm-duration");
but the former worked for me.
You have to add an import statement to be able to use it. Usually you would write that somewhere at the top of your file:
import ysFixWebmDuration from "fix-webm-duration";
Depending on your setup, it could also be:
const ysFixWebmDuration = require("fix-webm-duration");
but the former worked for me.
Thank you! that fixed my problem
Hi, I installed the package with the command:
As It's indicated in this website.
When I try to use the function 'ysFixWebmDuration' the function appears underlined in red with the error message: '"ysFixWebmDuration" is not defined'.
I am using the function in the following code:
npm list shows that the package is installed.
I'm a bit of a noob with Vue and MediaRecorder, Did I miss a step? Thank you for your time.