FAPI.invokeUIMethod("requestFullscreen")

Method signature

Method is recommended to be used only for mobile web

FAPI.invokeUIMethod("requestFullscreen");

Example usage

function prepareMidroll() {
    FAPI.invokeUIMethod("requestFullscreen");
}

Callback example

Callback example in case of successful method launch

method: “requestFullscreen”

result: “ok”

data: “ok”

Callback in case of fullscreen feature is not supported

method: “requestFullscreen”

result: “error”

data: “not_supported”