QUnit Test Runner

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

Running...
 

    test markup, will be hidden

    Player error loading message test



    Callback handler text box


    Display an error message stating that ad blocking was detected, and issue an event to notify
    Note: In order for script loading failure to occur an adblocker must be used.
    Please install adblockplus on your browser

    Loader error test configuration:

    "adBlockDetector":{
        "alertConfig":{
            "title": "Ad Block Detected",
            "message": "Ad Block Detected, Please disable ad block in order to watch content",
            "noButtons": true,
            "props" :{
                "textColor": "#FF0000",
                "titleTextColor":"#FF0000"
            }
        }
    }
        

    Error default configuration options:

    {
        title:  'Ad Block Detected',
        message: 'Ad Block Detected, Please disable ad block in order to watch content',
        buttons: null, //If empty then defaults to "ok" button
        noButtons: true, //If set to true disables button display
        callbackFunction: null, //name of external callback function, or a function definition
        isExternal: false, //if callback is external - e.g., on page
        props: {
            textColor: null,
            titleTextColor: null,
            buttonRowSpacing: null,
            buttonHeight: null,
            buttonSpacing: null
        },
        enableResumePlayback: false,//Set to true to allow playback continue after error is shown(*)
        checkTimeout: 2000, //Timeout for server response
        suppressError: false //Suppress the error UI - still issues an event to alert that ad block was detected
    }
    (*)This will override any callbackFunction which is defined