1.0.0 • Published 3 years ago
bugreplay-videoplayer v1.0.0
videoplayer
BugReplay Video Player
Install
npm install --save videoplayer
Usage
import React from 'react'
import { ReportPlayer } from 'videoplayer';
import 'videoplayer/dist/index.css'
interface Props {
annotations: any
annotationsUpdatedAt: any
networkDataIOS: any
iosBaseOffset: any
classes: any
report: any
reportAttributes: any
loading: any
loadingAssets: any
fetchReportView: any
fetchReportAnnotations: any
match: any
traffic: any
maxTime: any
timeZone: any
history: any
editingReport: any
sharingReport: any
activeTab: any
seekTo: any
logId: any
requestId: any
requestTab: any
requestDisplayOptions: any
requestFilterOptions: any,
shareModal: any
}
/**
* Pass relevant props to the ReportPlayer
* Pass relevant functions as callbacks
* Pass ShareModal and IndependentEditModal as named props
* @param props
*/
const App = (props: Props) => {
return (
<ReportPlayer {...props} />
)
}
License
MIT © rkgupta
1.0.0
3 years ago