1.0.1 • Published 3 years ago
@dmvs-apac/dm-custom-embed-react v1.0.1
dm-custom-embed-react
Dailymotion custom embed solution
Install
npm install --save @dmvs-apac/dm-custom-embed-react
Usage
import React, { Component } from 'react'
import DmCustomEmbedm from 'dm-custom-embed-react'
class Example extends Component {
render() {
return <DmCustomEmbedm playerid="{PLAYER_ID}" sort="relevance" owners="{YOUR_CHANNEL_NAME}" /> />
}
}
NOTE
All the attributes should be lowercase for ReactJs. Check out all the attributes availble here Parameters Available
License
MIT © DMVS-APAC