Jump to content

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


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();


(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,
Edited by halben
Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.