WordPress.org

Forums

PerformerJS
Libraries fail to load (1 post)

  1. kwiliarty
    Member
    Posted 4 years ago #

    I have used PerformerJS on WordPress sites, and I like the simplicity of it, but on more than one of my sites PerformerJS is not working. It seems on those sites that none of the libraries is loading. I can get jQuery to load by using the wp_enqueue_script approach documented at:

    http://codex.wordpress.org/Function_Reference/wp_enqueue_script

    It's just a matter of using something like this in your index.php file, I believe:

    function enqueue_performer() {
            wp_enqueue_script( 'jquery' );
    }
    
    add_action( 'init' , 'enqueue_performer' );

    Adding these lines to that file did the trick on my site.

    http://wordpress.org/extend/plugins/performerjs/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PerformerJS
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic