2017-03-28 04:40:44 +08:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
|
|
|
export default class Audio extends Component {
|
2017-10-10 04:48:10 +08:00
|
|
|
componentDidMount() {
|
|
|
|
this.props.init.call(this);
|
2017-04-19 22:59:57 +08:00
|
|
|
}
|
|
|
|
|
2017-03-28 04:40:44 +08:00
|
|
|
render() {
|
2017-06-03 03:25:02 +08:00
|
|
|
return (<audio id="remote-media" autoPlay="autoplay" />);
|
2017-03-28 04:40:44 +08:00
|
|
|
}
|
|
|
|
}
|