1. Searchie Help Center
  2. Apps
  3. Embedding Searchie into other platforms

Make your LearnDash site Searchie friendly

Embed Searchie videos into lessons in LearnDash

🧰 What You Will Need

  1. A Searchie Player, Playlist, or Widget

  2. A LearnDash WordPress website

Step 1 - Find your functions.php file or install a compatible plugin

In order to add this special code to your site, you’re going to need to do one of two things. Either you (1) find your active theme’s functions.php file in your system or (2) install the Code Snippets plugin or another similar plugin.


Step 2 - Paste the following code into the location you found in Step 1

Copy the following code:

add_filter( 'ld_video_provider', function( $video_provider = '', $settings = array() ) {        if ( empty( $video_provider) ) {                $video_provider = 'local';        }        return $video_provider;}, 10, 2 );


Paste it into your functions.php file on a new line or use the Code Snippets plugin (or another similar plugin) to add it to your site that way.


If you have any troubles with this step, please reach out to
help@searchie.io and include screenshots of the location you are attempting to paste the code into. The team will be able to assist from there.

Step 3 - Embed your Searchie content into your LearnDash site

Now that we have made our site Searchie friendly, it’s time to test our solution with a bit of code from Searchie. Grab the embed code from Searchie and simply insert it where you would normally insert the link for the .mp4 video.

This should do the trick and provide your audience with the amazing functionality found in the Searchie media player, but if something unexpected occurs, please reach out to the team with screenshots so we can assist. With your help, we can update and improve upon this article with any new information that becomes available.