@dmvs-apac/dm-custom-embed
v1.5.29
Published
A library to embed video from Dailymotion
Downloads
168
Readme
Dailymotion Custom Embed
This library is to embed Dailymotion video programmatically. Build using Typescript and much <3
Quick start
There are 2 options using this library. Download it directly to use on your production environment or use it on your development environment.
Or if you just want to test just use cdn below (again this is only for test purposes)
Pre-requisite for Manual build
Make sure you have installed packages below:
- NPM
- Git
Getting Started
Create a .env
file contain vars below
API_URL=https://your-custom-api-endpoint.com/
Start build
npm install
npm run dev // Build development source
npm run prod // Build production source
npm run deploy // Build both development and production