getDuration() {
    if (!this.info) return 0;

    const { streams = [{ duration: 10 }] } = this.info;
    let duration = this.info.duration || parseFloat(streams[0].duration) * 1000;
    if (typeof duration === 'string') {
      if (duration.indexOf(':') > 0) duration = DateUtil.hmsToSeconds(duration);
      else duration = parseInt(duration);
    }

    return Math.floor(duration / 1000);
  }
Obtain duration based on movie information
@return {number} movie information duration
@public