Button play does not work in Linux

0
Hi,

I am thinking to use the music collection in my site, but when I try the DEMO of this site, the button play does not work in my client linux, through it works in my client windows. This problem has a solution?

Thanks!
Responses (4)
  • Accepted Answer

    Friday, May 21 2010, 03:44 PM - #Permalink
    0
    mm... :S somebody noticed that, but no fix yet.

    let me ask you this: are you a developer? if you are, and are running FIREFOX for LINUX, maybe you can trace the javascript console error to see if it is throwing an error...
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 31 2010, 04:32 PM - #Permalink
    0
    Hi, Germi! The error it is throwing is this:

    Error: album_player.sendEvent is not a function
    Source file: javascript:album_player.sendEvent('ITEM',0);
    Line: 1

    This is thrown when the green play button is pressed. I used console2 add-on for firefox.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 31 2010, 04:44 PM - #Permalink
    0
    no solution yet... this is an interesting thread: http://www.longtailvideo.com/support/forums/jw-player/javascript-interaction/11318/playerload-is-not-a-function

    it may help find a solution

    come on, developers! ;)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 31 2010, 07:06 PM - #Permalink
    0
    Solution found thanks to the last post of the aforementioned link!

    Go to plugins/muscolplayers/jwplayer.php

    at the first line where flashvars (search for it) appears and add

    &id=album_player

    before

    ');

    This makes the green play button work at the album view. There is one more appearance of flashvars below which should correspond to another player somewhere. This should require the addition of

    &id=player

    So the first appearance should be

    s".$unique_id.".addParam('flashvars','file=".$playlist_url. $string_params . "&autostart=false&repeat=list&id=album_player');

    while the second one should be

    s".$unique_id.".addParam('flashvars','file=".$song->filename."&duration=".$song->length . $string_params . "&autostart=false&id=player');

    The second one has not been tested (I haven't even looked at where this player appears). I concentrated on the album view but simple Engineer's Induction instructs the second modification. I also have not tested it in Windows but I believe it should not break something.
    The reply is currently minimized Show
Your Reply