1.0.0 • Published 7 years ago
video-embed-parser v1.0.0
video-embed-parser
A video embed tag parser for bilibili, youku, tudou and youtube.
install
install from npm
npm install --save video-embed-parser
install from yarn
yarn add video-embed-parser
using
import { VideoParser } from 'video-embed-parser'
const parser = new VideoParser()
let html = parser.getEmbedTag(this.state.link)
console.log(html)
example
https://jie.github.io/video-embed-parser/
1.0.0
7 years ago