platypush.message.event.video

class platypush.message.event.video.NewPlayingVideoEvent(video=None, *args, **kwargs)[source]

Event triggered when a video playback is paused

__init__(video=None, *args, **kwargs)[source]
Parameters:video (str) – File name or URI of the played video
class platypush.message.event.video.VideoEvent(*args, **kwargs)[source]

Base class for video events

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.video.VideoPauseEvent(*args, **kwargs)[source]

Event triggered when a video playback is paused

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.video.VideoPlayEvent(video=None, *args, **kwargs)[source]

Event triggered when a new video content is played

__init__(video=None, *args, **kwargs)[source]
Parameters:video (str) – File name or URI of the played video
class platypush.message.event.video.VideoStopEvent(*args, **kwargs)[source]

Event triggered when a video is stopped

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]