Skip to content

DMVS-APAC/dm-custom-embed-react

Repository files navigation

dm-custom-embed-react

Dailymotion custom embed solution

NPM JavaScript Style Guide

Install

npm install --save @dmvs-apac/dm-custom-embed-react

Usage

import React, { Component } from 'react'

import DmCustomEmbedm from '@dmvs-apac/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


Example page

License

MIT © DMVS-APAC

About

Dailymotion custom embed solution for react

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published