Media Container

Let 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.