export interface Props {
  
  src?: string

  
  config?: any

  
  fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down'

  
  loading?: boolean

  
  loadingText?: string

  
  error?: boolean

  
  errorText?: string

  
  retryTime?: number
}

export interface Emits {
  
  (e: 'loaded', player: any): void

  
  (e: 'errorClick'): void
}
