2017-03-28 04:40:44 +08:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
|
|
|
export default class Audio extends Component {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
2017-05-02 03:52:57 +08:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|