Class: LogoLoader

LogoLoader

new LogoLoader(logoPath)

LogoLoader loads either a video or image for display during phone boot.

LogoLoader loads either a video or image for display during phone boot. Only a single resource will be selected depending on what is availble on the filesystem.

Parameters:
Name Type Description
logoPath Object

Contains file paths for both a video and image.

Source:

Methods

_initImage()

Tries to initialize an image if we can load it from disk.

Tries to initialize an image if we can load it from disk.

Source:

_initVideo()

Tries to initialize a video if we can load it from disk.

Tries to initialize a video if we can load it from disk.

Source:

_onLogoLoaded(element)

Called when we have a logo resource ready.

Called when we have a logo resource ready.

Parameters:
Name Type Description
element HtmlElement

An image or video element.

Source: