jplayer does not work on safari [closed]

1

I downloaded the jplayer v2.9.2 with JQuery v1.11.1 which has worked correctly in all browsers, except in safari, I have navigated to find a solution but it does not work for me, this is the code I am using.

$(document).ready(function(){

new jPlayerPlaylist({
    jPlayer: "#jquery_jplayer_1",
    cssSelectorAncestor: "#jp_container_1"
}, [        
    {
        title:"Partir",
        mp3:"http://www.jplayer.org/audio/mp3/Miaow-09-Partir.mp3",
        oga:"http://www.jplayer.org/audio/ogg/Miaow-09-Partir.ogg"
    },
    {
        title:"Thin Ice",
        mp3:"http://www.jplayer.org/audio/mp3/Miaow-10-Thin-ice.mp3",
        oga:"http://www.jplayer.org/audio/ogg/Miaow-10-Thin-ice.ogg"
    },
    {
        title:"Thin Ice",
        mp3:"http://www.jplayer.org/audio/mp3/Miaow-10-Thin-ice.mp3",
        oga:"http://www.jplayer.org/audio/ogg/Miaow-10-Thin-ice.ogg"
    },
    {
        title:"Thin Ice",
        mp3:"http://www.jplayer.org/audio/mp3/Miaow-10-Thin-ice.mp3",
        oga:"http://www.jplayer.org/audio/ogg/Miaow-10-Thin-ice.ogg"
    }       
], {
    swfPath: "/jplayer",
    solution: "html,flash"
    supplied: "oga, mp3",
    wmode: "window",
    useStateClassSkin: true,
    autoBlur: false,
    smoothPlayBar: true,
    keyEnabled: true
});
});

the examples downloaded from the same page of jplayer do not work at least that of the playlist, I appreciate the help.

    
asked by baxi2990 13.10.2016 в 18:54
source

1 answer

1

I have found the solution, I leave it here for someone else who needs it, the problem is the route of the swf, I had it that way

swfPath: "/jplayer"

by putting the / not the swf, you have to remove the first /, that's all, thanks (jplayer is the folder where the swf is).

swfPath: "jplayer",
    
answered by 13.10.2016 / 19:41
source