inherits: QuickView
Render video content with ffmpeg, hardware accelerated.
| enum | PlaybackState { StoppedState, PlayingState, PausedState } |
| enum | MediaStatus { NoMedia, LoadingMedia, LoadedMedia, StalledMedia, BufferingMedia, BufferedMedia, EndOfMedia, InvalidMedia } |
| enum | MediaError { NoError, ResourceError, FormatError, NetworkError, AccessDeniedError } |
| enum | MediaLoops { Infinite, Once } |
| enum | MediaStretch { Stretch, PreserveAspectFit, PreserveAspectCrop } |
get_active_audio_track()set_active_audio_track(int active_audio_track)get_active_subtitle_track()set_active_subtitle_track(int active_subtitle_track)get_active_video_track()set_active_video_track(int active_video_track)get_audio_tracks()get_auto_play()set_auto_play(bool auto_play)get_buffer_progress()get_component_name()set_component_name(String component)get_controls_auto_hide()set_controls_auto_hide(bool controls_auto_hide)get_controls()set_controls(bool controls_enabled)get_duration()get_error()get_error_string()get_fill_mode()set_fill_mode(QVideoPlayerView.MediaStretch fill_mode)get_has_audio()get_has_video()get_loops()set_loops(QVideoPlayerView.MediaLoops loops)get_media_status()get_metadata()get_module_name()set_module_name(String module)get_muted()set_muted(bool muted)get_playback_rate()set_playback_rate(float playback_rate)get_playback_state()get_position()set_position(int position)get_resolution()set_resolution(Vector2 resolution)get_seekable()get_source()set_source(String source)get_subtitle_tracks()get_video_tracks()get_volume()set_volume(float volume)| String | get_current_subtitle_name() |
| void | pause() |
| void | play() |
| void | stop() |