The player offers a basic runtime configuration option. Below you will find a sample code showing how to disable the ShowAnswers and HideAnswers events using this functionality.

    <script type="text/javascript" language="javascript" src=""></script>
    <script type="text/javascript" language="javascript" src="icplayer/icplayer.nocache.js"></script>
    <script language="javascript">
        var player;
        function icOnAppLoaded(){
            player = icCreatePlayer('_icplayer');
                events: {
                    disabled: ['ShowAnswers', 'HideAnswers']

    <script type="text/javascript" 

    <div id="_icplayer"></div>

The whole configuration is set through the setConfig() method called before the load() function.

Available configuration options

Option Description
events.disabled An array of event names that should be disabled. Whenever one of the disabled events is fired (regardless of whether it is done via the module or the JavaScript API), a RuntimeError will be thrown.