Background Plugin

From MSX - Wiki
Revision as of 16:24, 11 November 2021 by Benzac (talk | contribs) (Created page with "This is a special video plugin that plays a video in an endless loop. The plugin can be used with version '''0.1.74''' or higher. == Usage == The plugin must be loaded with a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a special video plugin that plays a video in an endless loop. The plugin can be used with version 0.1.74 or higher.

Usage[edit]

The plugin must be loaded with a video URL. Please see following action syntax example.

If you would like to use the plugin as reference to implement your own plugin, please have a look at this implementation script: http://msx.benzac.de/plugins/js/background.js.

Syntax[edit]

Parameter syntax of panorama plugin
Parameter Type Default Value Mandatory Description
url string null Yes

The URL of the background video. It is recommended to encode the value to ensure that it is evaluated correctly (e.g. "http://msx.benzac.de/media/atmos1.mp4""http%3A%2F%2Fmsx.benzac.de%2Fmedia%2Fatmos1.mp4").

Example[edit]

Screenshot[edit]

Example Screenshot (Background Plugin)

Code[edit]

{}

Demo[edit]

See also[edit]