Jump to content

FV WordPress Flowplayer : Object[object object] has no method 'play'


halben

Recommended Posts

First off, I'm working on a WordPress website. I'm having issue getting the video to play in the FV WordPress Flowplayer:
 
(1) auto play when the page loads
 
(2) Listen for the button click event (purposedly added the comment tag for testing either one)
 
 
Here's my code:
 
  
  var $j = jQuery.noConflict();


    $j(function(){


(1) $j('#post-1823.flowplayer').flowplayer().play();


(2) /*$j('#post-1823.flowplayer').flowplayer({
play: function(){
console.log('IT PLAYS!');
}
});*/
    });
The error I'm getting for (1) is "Uncaught TypeError: Object[object Object] has no method 'play'"
 
 

  1. Uncaught TypeError: Object [object Object] has no method 'play' - custom_scripts.js:33
    1. (anonymous function) - custom_scripts.js:33
    2. x.Callbacks.c   - jquery.js?ver=1.10.2:3
    3. x.Callbacks.p.fireWith - jquery.js?ver=1.10.2:3
    4. x.extend.ready - jquery.js?ver=1.10.2:3
    5. q

 

 
I'm thinking that it's not understanding any of the flowplayer api functions.
 
 
Can someone please assist me with these issues?
 
Thank you,
rolu

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.