1.3.8 • Published 9 months ago
player-dnt v1.3.8
player-dnt
Made with create-react-library
Install
npm install --save player-dnt or yarn add player-dnt
Usage
import React, { Component } from 'react'
import MyComponent from 'player-dnt'
import 'player-dnt/dist/index.css'
class Example extends Component {
render() {
return <PlayerStream
type="rtc"
cam={{
id: cameras[0].id,
name: cameras[0].name,
status: 'normal',
}}
controlBar={{
follow: { unFollow: () => console.log('') },
ptz: { togglePTZ: () => console.log('') },
theaterMode: {
isTheaterMode: false,
toggleTheaterMode: () => console.log(''),
},
modeOptions: {
changeStreamMode: () => console.log(''),
},
}}
/>
}
}
License
MIT © Dungrichee
1.2.0
10 months ago
1.3.7
9 months ago
1.2.8
9 months ago
1.3.6
9 months ago
1.2.7
9 months ago
1.3.5
9 months ago
1.2.6
9 months ago
1.3.4
9 months ago
1.2.5
9 months ago
1.3.3
9 months ago
1.2.4
9 months ago
1.3.2
9 months ago
1.2.3
10 months ago
1.3.1
9 months ago
1.2.2
10 months ago
1.3.0
9 months ago
1.2.1
10 months ago
1.3.8
9 months ago
1.2.9
9 months ago
1.1.0
12 months ago
1.0.0
12 months ago