De pagina die u heeft aangevraagd, is niet beschikbaar in uw taal. U kunt onderaan de pagina een andere taal selecteren of een webpagina onmiddellijk vertalen naar een door u gekozen taal met de ingebouwde vertaalfunctie van Google Chrome.

HTML5 banner 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
Main menu
13945968763501779265
true
Search Help Center
true
true
true
true
true
74220
false
false