webkitplayer

The webkit module contains our WebKit video player

class openlp.core.ui.media.webkitplayer.WebkitPlayer(parent)[source]

Bases: openlp.core.ui.media.mediaplayer.MediaPlayer

A specialised version of the MediaPlayer class, which provides a QtWebKit display.

check_available()[source]

Check the availability of the media player.

Returns:boolean. True if available
get_info()[source]

Return some information about this player

get_media_display_css()[source]

Add css style sheets to htmlbuilder

get_media_display_html()[source]

Add html code to htmlbuilder

get_media_display_javascript()[source]

Add javascript functions to htmlbuilder

load(display)[source]

Load a video

pause(display)[source]

Pause a video

play(display)[source]

Play a video

reset(display)[source]

Reset the player

resize(display)[source]

Resize the player

seek(display, seek_value)[source]

Go to a position in the video

set_visible(display, status)[source]

Set the visibility

setup(display)[source]

Set up the player

stop(display)[source]

Stop a video

update_ui(display)[source]

Update the UI

volume(display, volume)[source]

Set the volume