Home Manual Reference Source Test

References

browser

summary
public

The instance of Carrier for this web site.

public

V host: Host

The instance of Host for this web site.

public

V page: Page

The instance of Page for this web site.

public

The instance of Playback for this web site.

browser/background

summary
public

F raiseTab(tabId: *)

public

F removeTab(tabId: *)

public
public

V host: *

public

V pages: *[]

browser/main

summary
public

A class in charge of building the payload expected by the native app the payload must be a Payload

public

C Host

A class in charge of communicating back and forth with the native app.

public

C Page

A class in charge of detecting new HTMLMediaElements in current page and registering them as players.

public

There should be one instance of Playback per page

public

C Player

A class that wraps around HTMLMediaElement

public

V LoopStatus: {"NONE": string, "TRACK": string, "PLAYLIST": string}

Constants for playback looping support

public

V MessageMethod: {"GET": string, "SET": string, "PLAY": string, "PAUSE": string, "TOGGLE": string, "STOP": string, "NEXT": string, "PREVIOUS": string, "SEEK": string, "SET_POSITION": string}

public

V MessageProperty: {"POSITION": string, "RATE": string, "VOLUME": string, "SHUFFLE": string, "LOOP_STATUS": string, "FULL_SCREEN": string}

public

V MessageType: {"CHANGE": string, "RETURN": string, "SEEK": string, "QUIT": string}

public

V PlaybackStatus: {"PLAYING": string, "PAUSED": string, "STOPPED": string}

Constants for playback status

public
public

A payload that the native app understands

browser/popup

summary
public
public

browser/providers

summary
public

Netflix Page

public

Netflix Playback

public

Netflix Player

public

SoundCloud Playback

public

SoundCloud Player

public
public
public
public

This file adds support for the Tidal web player

public

YouTube Music Playback

public

The metadata sent to the mpris host is defined by the Player implementation.

public

YouTube Page

public

YouTube Playback

public

The metadata sent to the mpris host is defined by the Player implementation