<commit_before>import React, { Component } from 'react'

class Audio extends Component {
  play() {
  }

  pause() {
  }

  render() {
    return <div>This is a native audio file</div>
  }
}

export default Audio<commit_msg>Audio extends from Video for now<commit_after>import React, { Component } from 'react'
import Video from './Video'
import vendorPropTypes from './vendor-prop-types'

class Audio extends Video {
  render() {
    return (
      <audio
        ref={c => this._player = c}
        src={this.props.src}
        onPlay={this._handlePlay}
        onPause={this._handlePause}
        onProgress={this._handleProgress}
        onLoadedMetadata={this._handleDuration}
        onTimeUpdate={this._handleTimeUpdate}
        onVolumeChange={this._handleVolumeChange}
      />
    )
  }
}

export default Audio
{'fraction_non_alphanumeric': 0.11219512195121951, 'fraction_numerical': 0.0, 'mean_word_length': 2.966183574879227, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3061303', 'n_tokens_mistral': 242, 'n_tokens_neox': 239, 'n_words': 59}