Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   PHP, PERL, MySQL, JavaScript (https://forum.antichat.xyz/forumdisplay.php?f=37)
-   -   JQuery + jPlayer не работает mp3 (https://forum.antichat.xyz/showthread.php?t=208564)

Byte_ 02.06.2010 11:46

JQuery + jPlayer не работает mp3
 
Очень прошу помочь!
Ситуация следующая:
использую JQuery (1.4.2) и плагин для него jPlayer (1.1.1).
Код:

$("#jplay").jPlayer({
        swfPath:"http://192.168.1.252/player/",
        oggSupport:false,
        ready:function (){
            this.element.jPlayer("setFile","http://192.168.1.252/player/bw.mp3").jPlayer("play");
        }
    });

все пути верные, пробовал в разных вариациях, перетаскивал файлы в корень, менял mp3, перечитал весь dev guide... :dash1 :dash1 :dash1
причём если пишем так:
Код:

$("#jplay").jPlayer({
        swfPath:"http://192.168.1.252/player/",
        oggSupport:true,
        ready:function (){
            this.element.jPlayer("setFile","http://192.168.1.252/player/bw.mp3","http://192.168.1.252/player/bw.ogg").jPlayer("play");
        }
    });

то всё работает! но мне не нужно ogg! мне нужно только mp3... :dash1

пожалуйста, выручайте!


Время: 22:30