$("#jPlayer").jPlayer({
            ready: function () {
                $(this).jPlayer("setMedia", {
                    flv: 'http://st1.blive.kg/storage/flv7/2/249162.70951.flv'
                });
            },
            swfPath: "/js/Jplayer.swf",
            supplied: "flv"
        }).jPlayer("play");

Whats wrong with my code?_______________

有帮助吗?

解决方案

I think this is what you want:

$("#jPlayer").jPlayer({
    ready: function () {
        $(this).jPlayer("setMedia", {
            flv: 'http://st1.blive.kg/storage/flv7/2/249162.70951.flv'
        });

        $(this).jPlayer("play");
    },
    swfPath: "/js/Jplayer.swf",
    supplied: "flv"
});
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top