You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Forum user: blacktrash underdogma: free videos at http://www.blacktrash.org/

Basic information

Registered May 27, 2008
Last login 4 weeks and 4 days ago
Forum posts 1183
Direct URL http://www.flowplayer.org/forum/users/4194

Latest forum posts

Posts:

Registered:

» player manipulation and unloading

Posted: 14 hours ago

I probably would update the html content either in the onFinish of the clip (possibly doing different things depending upon the clip's url) or in the onUnload event of the player.

I would not bother trying to update the href attribute of the container but try to update the clip:


player.getClip().update({url: "secondvideo.flv"});

See:

http://flowplayer.org/documentation/api/clip.html#update

Posts:

Registered:

» changing clips with player unloading

Posted: 20 hours ago

Why would you need to change the flv path?

Why don't you initialize the player like I proposed:


var player = flowplayer("featured", "videos/flowplayer-3.2.4.swf", {
  clip: {
    autoPlay: false,
    onFinish: function () {
      this.unload();
    }
  }
});

And then, as I said, call player.play("clipurl").

The above works with jquery too, only for ids the selector in the 1st argument to flowplayer is done without the hash #.

Please see:

http://flowplayer.org/documentation/api/index.html

on variations on how to install the player.

Posts:

Registered:

» Change clip url via href dom manipulation

Posted: yesterday 17:11

With a unique id="featured" you obviously do not need the each() method.

As for your actual question: Store the player in a variable, and then simply use the play() method.


// install player in element with id "featured"
var player = flowplayer("featured", "videos/flowplayer-3.2.3.swf", {
  // player configuration here
});

$("#features img.person1").click(function () {
  player.play("nextvideo.flv");
  // disable normal link behaviour
  return false;
});

More on player methods here:

http://flowplayer.org/documentation/api/player.html#methods

Here's a simple demo that does something similar, but without jQuery:

http://www.blacktrash.org/test/xplay.html

Posts:

Registered:

» » » onStop broken in some browsers

Posted: on sunday

No problem. Just book-keeping or bug-tracking ;-)

Posts:

Registered:

» Combined downloads do not work

Posted: on saturday

This might have been due to a flaky WLAN on my side. And as others do not seem to observe the problem, I'll mark this as solved.

Posts:

Registered:

» onStop broken in some browsers

Posted: on saturday

Still broken in 3.2.4.

Posts:

Registered:

» 3.2.0: onStop does not unload

Posted: on saturday

Still the same with 3.2.4.

Posts:

Registered:

» certain download combinations give a 404 Not Found

Posted: on saturday

Seems to work now. Might have been due to a flaky WLAN (?).

Posts:

Registered:

» Loading spiral in first audio plugin example

Posted: on saturday

ping.

Posts:

Registered:

» » » » » Several clips as one (playlist?)

Posted: on friday

You might be able to grab the output of some dedicated program like mediainfo or ffprobe or ... flowplayer ;-) via javascript. - I can't think of a pure javascript solution to read and parse movie metadata. Would be happy to be proven wrong though.

Posts:

Registered:

» How can I close an overlay in a function?

Posted: on thursday

Is the overlay really installed in the #submit element? It seems to me that you might have to do something like:


$("#submit").click(function () {
  // assuming overlay is installed in element with id="overlay"
  $("#overlay").data("overlay").close();
});

$("#overlay").overlay().close() should also work, but jQuery's data method is recommended and perhaps cleaner.

Posts:

Registered:

Combined downloads do not work

Posted: 11 days ago

At least not reliably. See also

http://flowplayer.org/forum/8/48129

which is actually not solve. I moved it there in the hope to "unsolve" the thread, which it didn't.

atm, I'm having trouble with

http://flowplayer.org/tools/download/combine/1.2.4/jquery.tools.min.js?download=true&t=jquery&t=tabs&t=overlay&t=overlay.apple&t=toolbox.expose

giving a 404 Error.

Posts:

Registered:

» certain download combinations give a 404 Not Found

Posted: 11 days ago

Worked now; at least for the particular link. Let's consider it solved ;-)