We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const qualities=[270 ,360, 540, 720] <BrightcovePlayer {...props.controlProps} accountId={props.BrightCoveKey} videoId={props.videoId} play={!state.play} playbackRate={playbackRate} policyKey={props.policyKey} disableDefaultControl onChangeDuration={({ duration }) => { setState({...state, duration}) }} onUpdateBufferProgress={(data) => { console.log('buffering', data) }} bitrate={quality || 0} onReady={onLoad} onProgress={(data) => { onProgress(data) props.controlProps.onProgress(data) }} onEnd={onEnd} onUpdateBufferProgress={onBuffer} />
<TouchableOpacity onPress={() => updateRate(0)}> <Text style={{ color: rate === 0 ? 'orange' : 'white', fontSize: 16, padding: 5, }}> auto </Text> </TouchableOpacity> {qualities.map((newRate, index) => ( <TouchableOpacity key={index} onPress={() => updateRate(newRate)}> <Text style={{ color: rate === newRate ? 'orange' : 'white', fontSize: 16, padding: 5, }}> {newRate}p </Text> </TouchableOpacity> ))}
The rate is not changing when I select any other bit rate
the video which I'm trying have different rates available [270 ,360, 540, 720]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The rate is not changing when I select any other bit rate
the video which I'm trying have different rates available [270 ,360, 540, 720]
The text was updated successfully, but these errors were encountered: