Disable Video End Screen

Estimated reading time: < 1 min

To disable the xAPI Video end screen buttons, you need to add the following code to your theme’s functions.php file, or you can use a plugin that allows adding php code snippets.

add_filter( "grassblade_video_config", function($config, $content_data) {
    if(!isset($config["video_endscreen"]))
        $config["video_endscreen"] = 0;
    return $config;
}, 10, 3);
Heads Up!
We recommend using a child theme to make this change. It will get erased on theme updates if used in your main theme files.

If you’re facing any issues while using this code, feel free to contact us.

Was this article helpful?
Dislike 0 4 of 4 found this article helpful.

Leave a Reply

Your email address will not be published. Required fields are marked *

Shopping Cart
Scroll to Top
We are making major changes on payment options & license management. Please, click here to report any issues you face during the purchase.