Skip to content

kira/videojs-record

 
 

Repository files navigation

videojs-record

Kira specific information -- PLEASE keep up to date

Changes made

This is a fork of the videojs-record library where we needed to make a couple of changes

  • Allow the library to take in and pass along the video bitrate to record in
    • Allows us to use whatever bitrate we want to better control video sizes generated
    • Uses the Kira version of RecordRTC (see package.json)
    • See
  • Cleanup the FFMPEG WASM workers once the video player is destroyed to avoid a memory leak
  • Allow us to pass in custom file locations for the ffmpeg-wasm library files
    • Allows us to more easily serve the files from the same domain
    • See

Making Changes

  • Clone the repository
  • Node 20 is required to run the project
    • nvm install 20 && nvm use 20
  • Install the dependencies
    • npm ci

Testing the changes in Nectar

  • Make your changes
  • Run the build
    • npm run build
  • Copy and overwrite all the files from the dist folder to <nectar_home>/node_modules/@kira/videojs-record/dist/
  • Restart the React dev server

Cutting a new release

  • Merge your pull request
  • From your local machine, run the following on a new branch created from main
$ npm version patch
$ git push 
$ git push --tags
  • Create a new PR with the changes
  • Merge your PR
  • Run the Build and Publish Package Github action
  • Update the releases page on Github
  • You can now reference the release number created in other projects with @kira/videojs-record and the version number

Original README

A video.js plugin for recording audio/video/image files.

Screenshot

Documentation

The documentation and examples can be found on: https://collab-project.github.io/videojs-record

npm version npm License Build Status Coverage Status Size Financial Contributors on Open Collective Stars

Donate

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

About

video.js plugin for recording audio/video/image files

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 96.2%
  • SCSS 3.8%