Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Alexander Zhukov
@cyb3rm4n
Plan to make wenpage with player that plays internet-radio in ogg. Does jPlayer supports the ogg stream from icecast? What about tags? Are they supported?
Stefano Malaisi
@StefanoMalaisi_twitter
I need a help for jplayer on icecast streaming... Actually string is: "m4a": "http://178.32.138.88:9980/stream But the player doesn't workk
NagaSai3223
@NagaSai3223
Getting swf file blocked from playing audio. Below is the error found on console : Cross-origin plugin content from https://cdnjs.cloudflare.com/ajax/libs/jplayer/2.9.2/jplayer/jquery.jplayer.swf must have a visible size larger than 400 x 300 pixels, or it will be blocked. Invisible content is always blocked. Can Any one help
Ericson Luciano
@ericsonluciano_twitter
Hello everyone anyone tried to implement the react with api from rails? any way to populate the json in react
GerryLon
@GerryLon
@VxJasonxV how? Maybe my condition is the same as you. can you show me your code?
Andra Antariksa
@andraantariksa
Hi! I have some trouble, im using javascript location hash to play the music using jPlayer. It works fine, however when you change the location hash (music.warunganime.net/#/ artist name / song title) it will remove all of the playlist, how i can get rid this playlist remove if i got some song in my playlist? Anyone got any idea? I need some information about jPlayer event when it change the playlist song. Url : music.warunganime.net
Andra Antariksa
@andraantariksa
function checkhash(){
        var hash = location.hash.substr(1);
        if(hash != ''){
               hashstr = hash.split("/");
            artist = (isEncoded(hashstr[1]))?hashstr[1]:encodeURI(hashstr[1]);
            title = (isEncoded(hashstr[2]))?hashstr[2]:encodeURI(hashstr[2]);
               if(hashstr.length = 3){
                $('.musicbar').addClass('animate');
                $('#lyrics').html('Loading...');
                var request = $.ajax({
                  url: "lyrics/"+ artist +"/"+ title,
                  type: "GET",
                  data: "",
                  dataType: "html"
                });

                request.done(function(data){
                  var json = $.parseJSON(data);                  
                  myPlaylist.remove(); 
                  myPlaylist.add({
                    title:json[0].title,
                    artist:json[0].artist,
                    mp3:json[0].url,
                    poster:json[0].image
                  });
                  myPlaylist.play();
                  /*
                  if(!json[0].lyrics){
                      var lyrics = 'No Lyrics';
                  }else{
                      var lyrics = json[0].lyrics;
                  }
                  if(!json[0].image){
                      var image = 'http://sibnerpartie.tk/assets/general/cover.png';
                  }else{
                      var image = json[0].image;
                  }
                });

                request.fail(function(jqXHR, textStatus) {
                  $("#lyrics").html("Request failed: " + textStatus );
                });
               }else{
                   //error
               }
       }
    }

    checkhash();
   $(window).on('hashchange', function() {
        checkhash();
   });
  $(document).on($.jPlayer.event.play, myPlaylist.cssSelector.jPlayer,  function(){
    $('.musicbar').addClass('animate');
    //alert(nowplaying.title+' +++ '+myPlaylist.playlist[myPlaylist.current].title +' && '+ nowplaying.artist+' +++ '+myPlaylist.playlist[myPlaylist.current].artist);
    /* Lyrics load */
    if(nowplaying.artist != myPlaylist.playlist[myPlaylist.current].artist || nowplaying.title != myPlaylist.playlist[myPlaylist.current].title){
        window.location.hash = "#/"+encodeURI(myPlaylist.playlist[myPlaylist.current].artist)+"/"+encodeURI(myPlaylist.playlist[myPlaylist.current].title);
        $('#lyrics').html('Loading...');
        var request = $.ajax({
          url: "lyrics/"+encodeURI(myPlaylist.playlist[myPlaylist.current].artist)+"/"+encodeURI(myPlaylist.playlist[myPlaylist.current].title),
          type: "GET",
          data: "",
          dataType: "html"
        });

        request.done(function(data){
          nowplaying.artist = myPlaylist.playlist[myPlaylist.current].artist;
          nowplaying.title = myPlaylist.playlist[myPlaylist.current].title;
          var json = $.parseJSON(data);
          if(!json[0].lyrics){
              var lyrics = 'No Lyrics';
          }else{
              var lyrics = json[0].lyrics;
          }
          if(!json[0].image){
              var image = 'http://sibnerpartie.tk/assets/general/cover.png';
          }else{
              var image = json[0].image;
          }

          $("#lyrics").html('<div style="padding-top:15px;padding-bottom:15px;position:relative;display:block;margin-bottom:-1px;" class="clearfix"><img src="'+image+'" class="pull-left thumb-lg m-r"><h3 class="block text-ellipsis">'+json[0].title+'</h3><small class="text-muted">by '+json[0].artist+'</small><div><a href="https://www.facebook.com/sharer.php?u='+encodeURIComponent('http://music.warunganime.net/'+encodeURIComponent(json[0].artist)+'/'+encodeURIComponent(json[0].title))+'" target="_blank" onclick="window.open(\'https://www.facebook.com/sharer.php?u='+encodeURIComponent('http://music.warunganime.net/'+encodeURIComponent(json[0].artist)+'/'+encodeURIComponent(json[0].title))+'&t='+encodeURIComponent('Listen '+json[0].title+' Song by '+json[0].artist)+'\',\'Facebook Share\',\'status=1,height=360,width=500,resizable=0\'); return false;"><i class="fa fa-facebook"></i></a></div></div><div>'+lyrics+'</div>');
        });

        request.fail(function(jqXHR, textStatus) {
          $("#lyrics").html("Request failed: " + textStatus );
        });
    }
   /*End Lyrics load */
  });
Here's my code anyway
Nyle
@nyleusa_gitlab
Can anyone help me? I have a Demo website and I am trying to change the Audio track, but I am confused why there is .mp3 link and .ogg link? (mp3: "http://www.jplayer.org/audio/mp3/Miaow-03-Lentement.mp3",
oga: "http://www.jplayer.org/audio/ogg/Miaow-02-Hidden.ogg",)
hiro116
@hiro11610_twitter
I do not want to stop when moving pages in fullpage.js.
Mahdi Amirabadi
@amirabadi.mahdi_gitlab
hey guys, I'm using jplayer in my site but its repeat button doesnt work, when I enable repeat button, I expect the player to repeat the current song but it goes to the next song
I would be happy if you guys help me
JuseChen
@JuseChen
I use Jplayer with zepto, the page appears some errors , like:
jquery.jplayer.js:1731 Uncaught TypeError: this.element.trigger is not a function
at $.jPlayer._trigger (jquery.jplayer.js:1731)
at jquery.jplayer.js:1249
I don`t know why
pws2016
@pws2016
Hello,
how i can setup auto play the playlist?
and how i open a mp3 file on loading page without click on play button?
Sergi
@SergiOca87
Hi everyone, is there a reason or known issue why the "myPlaylist.next();" and "myPLaylist.previous(); would jusmp 2 tracks at a time? If I'm on track 1 and click on next it'd jump to track 3...
Chandu Mahara
@chandumahara95_twitter
Hello,
How can I play youtube videos in jPlayer?
Baljinder
@baljinderimpinge

Hello Support,

I am using jplayer in my magento 2 site and i am getting issue
here is the link of my magento 2 site
http://dev.columbariumniches.com/manufacturing

Wobbie Wobbit
@wobbiewobbit_twitter
can anyone help me with how to remove playlist items by class? I can add the class for removal to the <li> but it removes it from the playlist list but the original list still plays. I want to do what the included "remove item" X does but from a checkbox outside the <li> and based on the <li> class. Is this possible?
Ronald thalen
@Rtcd_gitlab
Hallo i have a live stream if i press the pause button and start it later again he goes on were he was paused.
Is it possible to make a new connection when i press the play button Again?
TimoTej200
@TimoTej200
Hi guys, Can someone please help me.. it's quite urgent. So our website is on jplayer 2.0.0 since it came out... no problems. But our stream provider informed us that they are going the changing the server url. and now i can't seem to find where can i change it in jplayer... please help me.
shahzaib-mobitising
@shahzaib-mobitising
jirisita
@jirisita
Hi there, is there anyone who could help me with jPlayer code please? I would like jPlayer to pause when I toggle browser tab and start playing again when I come back. Thanks for your thoughts.
天使アシュリー
@kawaaii
Hello, good evening
Inseob Kim
@Nathaniel7687
Hello, is there any way to get playlist information from jplayer variable?
danieldoddjr
@danieldoddjr
Hey just updated my phone to iOS13 and noticed jPlayer stops playing a minute or two after going to the lock screen. It will only works if I use the safari browser. I tested it in iOS12 and other browsers works just fine. Thought some one would like to know!
mrseankumar25
@mrseankumar25
Hello, is there any way to fast-forward the video?
@Nathaniel7687 maybe it'll useful.
https://codepen.io/mrseankumar25/pen/yGjWxp
james
@jimbobber_gitlab
Hi there, would it be possible to get some support? I have an issue I am sure is simple, but I am lost!