• Resolved ogas

    (@ogas)


    Hello, I’m using this great looking and easy to use player for a radio stream page – http://www.bucurestiinnoapte.ro/radio

    I’m having issues though with the buffering – the player starts loading/playing the stream and everything is ok but let’s say that after 1 minute you decide to close the tab or sometimes only hit F5 / refresh the page

    the player starts streaming AGAIN what it has buffered previously and when this buffer ends it tries to catch the live stream again or just repeat only the part that it has buffered, … this issue is making this wonderful player somehow unusable for my needs,

    do you have any advice on this matter?

    https://wordpress.org/plugins/wp-miniaudioplayer/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter ogas

    (@ogas)

    PS .. the code I’m using to integratre the player is :

    <a id="m1" class="audio {skin:'black',autoplay:true}" href="http://37.221.161.87:9974/;#.mp3""> <center>ON AIR</center></ a>
    Thread Starter ogas

    (@ogas)

    (there are some intended spaces in there – just so that it does not render as code)

    Plugin Author pupunzi

    (@pupunzi)

    Hi,
    I set a test page on my blog using your streaming URL: http://pupunzi.open-lab.com/test-page/

    I’m not able to reproduce your issue…

    Do you have an URL where I can see the player in action on your site?

    Thread Starter ogas

    (@ogas)

    yes, the stream/player can be found here – http://www.bucurestiinnoapte.ro/radio

    what code did you use for that test player you setup?

    Plugin Author pupunzi

    (@pupunzi)

    I can’t reproduce your behavior even on your page… it’s working fine for me.

    Thread Starter ogas

    (@ogas)

    Simplest way of reproducing this:

    LISTEN to radio for 1-2 minutes…
    PAUSE the player for another 1-2 minutes
    HIT PLAY – the stream starts from where you first paused and from there just starts looping that initial 1-2 minutes

    to check that the stream is different – open any app like iTunes or Winamp from the LISTEN WITH… menu.

    …and again – what code did you use on your test page?

    thanks!

    Thread Starter ogas

    (@ogas)

    Made a video of this issue – it is after listening for about 28 minutes of radio and then hitting Refresh

    http://youtu.be/1qiy7c7TgR4

    as you can see (but not hear – stupid ezVid did not record audio) the player buffered the whole 28 minutes and after that it plays ONLY that

    First try – click on BIN so that goes at the radio link again – does nothing for the stream

    Second try – click Reload Page from the Firefox browser – does nothing for the stream

    Third try – Ctrl + F5 – does nothing for the stream

    the fix would be to close the tab – wait a few minutes and the re-open the link – and then it works again as it should

    Any advice ?

    Plugin Author pupunzi

    (@pupunzi)

    That seams to be a problem related to the cache; anyway it doesn’t happens to me on a mac osx an any browser (firefox, chrome and safari).

    I’ll check from a PC if that happens. Did you try from other computers than your?

    Bye,
    M

    Hello Pupunzi
    I’m a web-architect, i’m using this plugin for offering music and downloads. i
    Now iam facing with a challenge where one of my clients who run a radio station wants me to make the live radio stream for their broad cast, but i do not know how to do this using this plugin or any other because i have never developed a site for a radio station before.

    Please help me with how i can make this happen,, i do not want to lose my clients please,,i need your help.

    Plugin Author pupunzi

    (@pupunzi)

    @chris Sarawa:
    The player can play a live stream just if it streams as .mp3; usually the URL to a stream doesn’t contain the .mp3 extension as for example: http://listen.radionomy.com/abc-jazz; to let the player recognize it as a playable file you should add #.mp3 at the end of the URL:
    http://listen.radionomy.com/abc-jazz/#.mp3

    Bye,
    Matteo

    Thanks, Pupunzi for you quick response.
    Sorry for being annoying, just one more question; i totally do not have any idea about the live stream, and basing on the explanation you have given, you put it in a way that for the plugin to play a live stream, i will need to add the #.mp3, but the question is who builds that “live stream stuff that i use urls from?” is it me as the weblogger who will need to build it using woordpress or all radio stations have live stream urls that i just need to ask the radio station for and follow the instructions you gave me and get everything moving?
    Thanks in advance.

    ThanKs so much Pupunzi for your quick response.
    Sorry for being annoying; just one more question, your explanation helps me to understand that, for the plugin to play a live stream,the “#.mp3” should be added to its url, but my question is who builds the “live stream stuff whose url is to be added with the #.mp3 in order to get it playing?,, is it me to build the live stream using wordpress or all radio stations have their live stream urls and all i need to do is ask my clients for their live stream url and get things working?

    Plugin Author pupunzi

    (@pupunzi)

    @chris Sarawa:
    Sorry but I can’t understand your question; you said that you need to play a live stream radio and I give you the answer… if you don’t have your client stream url how can I help you?

    Bye,
    M

    Thread Starter ogas

    (@ogas)

    Hei there, Pupunzi! – quick question – I’m looking into other players for the radio stream – wanted to know if your player has this function or something similar: “To avoid cache, Muses Radio Player alters the streaming URL adding some GET parameters computed from the computer local time, and this makes the streaming URL different every time the player ask for it” ?

    Thanks!

    Plugin Author pupunzi

    (@pupunzi)

    Hi,
    you can change the jquery.mb.miniAudioPlayer.js file at line 341:

    from

    el.jPlayer("setMedia", master.player.opt.media);

    to

    el.jPlayer("setMedia", master.player.opt.media + "?_=" + new Date().getTime());

    At the time the plugin is loading the minified version of the js so you need to change the inclusion to use the uncompressed version in the miniAudioPlayer.php file.

    I’ll add the parameter to the call in the next release.

    Bye,
    Matteo

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Player used for radio stream – buffering issue’ is closed to new replies.