Skip to content

Video

The Video extension allows you to add a video to your editor.

Usage

tsx
import { Video } from 'reactjs-tiptap-editor'; 

const extensions = [
  ...,
  // Import Extensions Here
  Video.configure({
    upload: (files: File) => {
      return new Promise((resolve) => {
        setTimeout(() => {
          resolve(URL.createObjectURL(files))
        }, 500)
      })
    },
  }), 
];

Source

SourceDocs

Contributors

Changelog

v0.0.56 on 10/25/2024
fcd95 - feat: image inline, refactor video upload

Made with ❤️