|
@@ -189,16 +189,6 @@ export default class CusVideo extends React.Component {
|
|
|
return false;
|
|
|
}
|
|
|
});
|
|
|
- if (this.state.show_controller) {
|
|
|
- this.time_hideController = setTimeout(() => {
|
|
|
- this.setState({
|
|
|
- show_controller: false
|
|
|
- // needback: false
|
|
|
- });
|
|
|
- this.bottomcontroller.setBottom(-50);
|
|
|
- this.topcontroller.setTop(-50);
|
|
|
- }, 5000);
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
loadStart() {
|
|
@@ -253,6 +243,16 @@ export default class CusVideo extends React.Component {
|
|
|
player_status_icon: require("../images/video/pause.png")
|
|
|
});
|
|
|
this.player_icon_index = 0;
|
|
|
+ if (this.state.show_controller) {
|
|
|
+ this.time_hideController = setTimeout(() => {
|
|
|
+ this.setState({
|
|
|
+ show_controller: false
|
|
|
+ // needback: false
|
|
|
+ });
|
|
|
+ this.bottomcontroller.setBottom(-50);
|
|
|
+ this.topcontroller.setTop(-50);
|
|
|
+ }, 5000);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
seekTo(progress) {
|