Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// paragraphStyle.borderWidth = '0.01em';
paragraphStyle.borderRight = '0.1em dashed lightgrey';
paragraphStyle.borderLeft = '0.1em dashed lightgrey';
}
}
return (
<span tabindex="0" data-start="{">{this.props.speakerName}</span>
{/*
<span tabindex="0" data-start="{" style="{"></span>
>
<span tabindex="0">{this.props.speakerName}</span>
<span tabindex="0" data-start="{" style="{">
{ shortTimecode(this.props.paragraph[0].start) }
</span>
{this.props.wordsElements}
);
}
}
onLoadedDataGetDuration = e => {
const currentDuration = e.target.duration;
const currentDurationWithOffset = currentDuration + this.state.timecodeOffset;
const durationInSeconds = secondsToTimecode(currentDurationWithOffset);
this.setState({
mediaDuration: durationInSeconds
});
};