Load method · Flowplayer
<head/>
<script>
flowplayer(function (api) {
api.bind("load", function(e, api, video) {
console.info("load", video.src, video.duration);
}).bind("ready", function(e, api, video) {
console.info("ready", video.src, video.duration);
});
});
$(function () {
$("button:first").click(function () {
flowplayer().load([
{webm: "http://stream.flowplayer.org/playful/624x260.webm"},
{flash: "mp4:playful/624x260"},
{mp4: "http://stream.flowplayer.org/playful/624x260.mp4"},
{ogg: "http://stream.flowplayer.org/playful/624x260.ogv"}
]);
});
$("button:last").click(function() {
flowplayer().load("http://stream.flowplayer.org/playful/624x260.mp4");
});
});