Skip to main content

Media Container

Lets you add a media player field in your form.

You can set the URL to play by using global context value

gc.media_container = "path/to/my/file"

or in the "on initialize" part of Values & Callbacks tab.

me.set("path/to/my/file")

The URL should be calculated from the server side or you could use a smartpath to simplify your code.

Object designer

fmc_main

Object parameters

Double-click on the object to edit it. Object parameters dialog will pop-up.

fmc_info

Key
The key field lets you define a unique name to your field. Key value will be read and updated in the context

    {
"media_container" : "path/to/my/file"
}

Container Size
Let you define the default size of the player.

Video

Lets you define how the video files are displayed and played.

fmc_info2

Audio

Lets you define how the audio files are displayed and played.

fmc_info3

Linked to

The linked to Tab let you define the columns displayed in the linked list. You may select some of the columns and even add some custom ones if needed. fmc_info4

Markers

Lets you define how the markers behave.

fmc_info5

Keyboard

Lets you define the key binds to control the media container.

fmc_info6