commajs
Videos
Installation
npm install commajs-video
In commajs-core options add:
import CommaVideo from "commajs-video";

options = {
    ...,                
    plugins: [
        ...,
        { pClass: CommaVideo }
    ]
}
Styling
Videos are styled using the css file that you can find in the commajs-video package.
Usage
To add a video:
commajsInstance.InsertPluginAtSection(CommaVideo.GetName(), { link:"....", mimeType:"video/mp4" });
 
© 2020 Plugg, Inc. All rights reserved. Various trademarks held by their respective owners.
Plugg, Inc. - San Francisco, CA 94114, United States