I am trying to get jPlayer to work with flash backup in rails application and so far no luck! Now my constructor looks like this:
$("#jquery_jplayer_1").jPlayer({
preload: "auto",
errorAlerts: true,
swfPath: "javascripts",
solution: "flash, html",
supplied: "oga",
wmode: "window",
ended: function(e) {
...some function...
}
});
I can't get swfPath correctly, and I must have something missing here about how jPlayer is looking for this path. My other assets, such as images from style sheets, seem to be correctly redirected to the folder with folders / folders of assets. I can't seem to find a magic combination to get jPlayer to find Jplayer.swf. I tried to put the swf file in the shared folder, in the folder in the shared folder, in the resources folder and in the javascripts folder in the resources folder. Bad luck! Has anyone considered this issue before?
source
share