LivePlayer
Introduction
Code Demo
Basic usage
API
Props
| Parameters | Description | Type | Default value |
| video-src | Live stream address | string | - |
| progress-control | Whether to display the progress bar | boolean | true |
| poster | Cover image address | string | - |
| retry-timeout | Retry loading time, unit s | number | 300 |
| reload-interval | The interval between retriggering reload, unit s | number | 5 |
| show-feed-back-icon | Whether to display the feedback icon when loading fails | boolean | false |
Events
| Event name | Description | Parameters |
| clickFeedbackIcon | click feedback | - |
| goOtherMatch | Click to go to other matches | - |
| playStatusChange | Play status change | status (playing, pause, waiting) |
| fullScreenChange | Full screen status change | isFullScreen |
| playError | Play error | - |