Class APSMediaPlayerHTMLOverlayController

All Implemented Interfaces:
KRAdapter

public class APSMediaPlayerHTMLOverlayController extends APSMediaPlayerClosableOverlayController
The APSMediaPlayerHTMLOverlayController allows the inline loading of HTML content inside an overlay placed on top of video content.

Configuration

To create an APSMediaOverlay of HTML type:

  • set the overlay object’s type property to APSHTMLOverlay
  • set the overlay object’s properties property to a HashMapinvalid input: '<'String, Object> that can have the following keys and values:

    • kAPSHTMLCodeContent: the actual HTML String to be loaded.
    • kAPSHTMLIframeSource: String containing the URL that should be loaded inside an iframe element.
    • kAPSHTMLScriptSource: String containing the URL of the JavaScript file that should be loaded and executed.
    • kAPSHTMLPageSource: String containing the URL to load directly in the webview container.
    • kAPSHTMLWidth: Integer corresponding to the integer value to be set for the meta viewport width property.
    • kAPSHTMLHeight: Integer corresponding to the integer value to be set for the meta viewport height property.
    • kAPSHTMLErrorURLs: ArrayList containing Strings to be tracked in case of error.