Media
16 posts tagged with "Media"
.video
The .video action shows MP4 video. It belongs to the video category within the media area.
Action Syntax
.video +imagetag
Valid sizes
Tags
controls
shows video playboack controls
muted
starts video in muted mode
Examples
// Basic Usage
.video %videotag
.video-banner
The .video-banner action shows a video banner (edge to edge). It belongs to the video category within the media area.
Action Syntax
.video-banner +imagetag
Valid sizes
Examples
// Basic Usage
.video-banner %videotag
.video-button
The .video-button action an video button. It belongs to the video category within the media area.
Action Syntax
.video-button +imagetag
.video-button +imagetag [file]
Valid sizes
Tags
rounded
a rounded button (default)
circle
a circle button
square
a square button
Examples
// Basic Usage
.video-button %video2
.youtube-video
The .youtube-video action a youtube video player. It belongs to the video category within the media area.
Action Syntax
.youtube-video "text"
.youtube-video $variable
Valid sizes
Examples
// Basic Usage
.youtube-video "videoid"
// Using Variables
// Display dynamic content from variables
.youtube-video $videoid
app-sound
The app-sound action defines an app sound. It belongs to the sounds category within the media area.
Action Syntax
app-sound ~sound https://...
app-sound ~sound ~sound
Valid sizes
Examples
// Basic Usage
app-sound ~soundtag https://soundfile
delete-all-videos
The delete-all-videos action deletes all saved local video files. It belongs to the video category within the media area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Return Value
This function returns a
$result = delete-all-videos
Valid sizes
Examples
// Basic Usage
delete-all-videos
english
The english action Checks if the current language is set to English. It belongs to the language category within the media area.
Action Syntax
english
This action takes no parameters and is used as a bare command.
Description: test if language is English
Valid sizes
Examples
// Basic Usage
english
list-videos
The list-videos action lists videos saved in IDB using the set-image action. It belongs to the video category within the media area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Return Value
This function returns a
$result = list-videos
Valid sizes
Examples
// Basic Usage
list-videos
load-audio
The load-audio action Loads an audio file into memory for later playback. It belongs to the audio category within the media area.
Action Syntax
load-audio ~sound https://...
load-audio ~sound $variable
Valid sizes
Examples
// Basic Usage
load-audio ~song https://example.com/song.mp3
// Using Variables
// Display dynamic content from variables
load-audio ~song $url-variable
pause-audio
The pause-audio action Pauses any currently playing audio. It belongs to the audio category within the media area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Valid sizes
Examples
// Basic Usage
pause-audio
play-audio
The play-audio action Plays a previously loaded audio file. It belongs to the audio category within the media area.
Action Syntax
play-audio ~sound
Valid sizes
Examples
// Basic Usage
play-audio ~song
set-language
The set-language action sets the default app language. It belongs to the language category within the media area.
Action Syntax
set-language arabic
set-language german
set-language english
set-language spanish
set-language french
set-language italian
set-language japanese
set-language korean
set-language portuguese
set-language russian
set-language mandarin
set-language greek
set-language hebrew
set-language hindi
set-language $variable
Valid sizes
Examples
// Basic Usage
set-language arabic
// Using Variables
// Display dynamic content from variables
set-language $lang
set-sound
The set-sound action defines an app sound. It belongs to the sounds category within the media area.
Action Syntax
set-sound ~sound to https://...
set-sound ~sound to ~sound
Examples
// Basic Usage
set-sound ~beep to https://soundfile
set-video
The set-video action sets/defines a video tag. It belongs to the video category within the media area.
Action Syntax
set-video +imagetag https://...
set-video +imagetag +imagetag
Valid sizes
Tags
save
persists the video in local storage. Use for videos which to do not change often
spanish
The spanish action conditional spanish. It belongs to the language category within the media area.
Action Syntax
spanish
This action takes no parameters and is used as a bare command.
Valid sizes
Examples
// Basic Usage
spanish
stop-audio
The stop-audio action Stops any currently playing audio. It belongs to the audio category within the media area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Valid sizes
Examples
// Basic Usage
stop-audio