0.5.2 • Published 2 years ago
custoplayer v0.5.2
https://github.com/Etesam913/Custoplayer/assets/55665282/fedcb5a5-ec94-4fe0-b554-2bf78cf62c6a
npm install custoplayer
yarn add custoplayer
import React from 'react';
import { Custoplayer } from 'custoplayer';
function CustoplayerExample() {
return (
<Custoplayer
poster='https://custoplayer.nyc3.cdn.digitaloceanspaces.com/docs/custoplayer-demo-poster.png'
src='https://custoplayer.nyc3.cdn.digitaloceanspaces.com/docs/compressed-custoplayer-demo.mp4'
values={{
previewTooltip: {
id: 'text',
},
controlsBar: {
animate: 'movement',
barColor: 'rgba(28, 28, 28, 0.85)',
},
item1: {
id: 'playButton1',
buttonColor: '#b7cef4',
},
item2: {
id: 'volumeButton1',
barId: 'volumeBar2',
volumeColor: '#a4c3f5',
buttonColor: '#a4c3f5',
},
item3: {
id: 'currentTime',
textColor: '#b7cef4',
},
item4: {
id: 'progressBar1',
progressColor: '#a4c3f5',
},
item5: {
id: 'duration',
textColor: '#b7cef4',
},
item6: {
id: 'settingsButton1',
buttonColor: '#a4c3f5',
settingsMenuColor: '#a4c3f5',
settingsMenuOrientation: 'left',
options: {
playbackSpeed: [0.25, 0.5, 1, 1.5, 2],
},
},
item7: {
id: 'fullscreenButton1',
buttonColor: '#b7cef4',
},
}}
/>
);
}
export default CustoplayerExample;
0.4.9
2 years ago
0.5.0
2 years ago
0.5.2
2 years ago
0.5.1
2 years ago
0.4.8
2 years ago
0.4.7
2 years ago
0.3.0
2 years ago
0.4.5
2 years ago
0.4.4
2 years ago
0.4.6
2 years ago
0.4.1
2 years ago
0.4.0
2 years ago
0.4.3
2 years ago
0.4.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.2.2
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.3
2 years ago
0.1.0
2 years ago