HTML5 interstitial build guide

Call MRAID methods

This information is for methods outside those available in the Studio Enabler or API. For core functionality like expands and exits, fullscreen, and video, always use the Studio Enabler or API to ensure metrics are properly implemented.

If you need to call an MRAID method that isn't supported by the Studio Enabler, use invokeMraidMethod. See the below code snippet for an example. Use this if you're running on a publisher that's using either MRAID 1.0 or 2.0.

<script>
// Invoking an mraid call and receiving the results.
Enabler.invokeMraidMethod(
    studio.sdk.MraidMethod.SUPPORTS,
    ['storePicture'],
    function(result) {
      console.log('Are pictures supported?', result);
    });
</script>

To invoke an MRAID method, call the Enabler.invokeMraidMethod .

For more information about MRAID, see the IAB's Mobile Rich Media Ad Interface Definitions (MRAID).

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Search
Clear search
Close search
Google apps
Main menu
5066590100737374420
true
Search Help Center
true
true
true