1.3.8 • Published 2 years 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
2 years ago
1.3.7
2 years ago
1.2.8
2 years ago
1.3.6
2 years ago
1.2.7
2 years ago
1.3.5
2 years ago
1.2.6
2 years ago
1.3.4
2 years ago
1.2.5
2 years ago
1.3.3
2 years ago
1.2.4
2 years ago
1.3.2
2 years ago
1.2.3
2 years ago
1.3.1
2 years ago
1.2.2
2 years ago
1.3.0
2 years ago
1.2.1
2 years ago
1.3.8
2 years ago
1.2.9
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago