0
Hi,

When adding to the playlist (clicking + button) - there is no user notification of any kind to let the user know that the action was performed, this seems like a usability issue.

I would like to for now provide a popup via javascript alerting user of hte action. If you can point me to the file where I can add the javascript for this, that would be great.

In a future release I was wondering if there could be an indication of some sort (maybe a different icon) - at least letting the user know that they have already added this to the playlist.

Corey
Responses (6)
  • Accepted Answer

    Tuesday, May 29 2012, 10:40 AM - #Permalink
    0
    Hey Corey,

    The file that you're looking for is in the plugins/muscolplayers/jwplayer/js directory/playlist_functions.js

    You could pop an alert inside the function as a quick and dirty way. Alternatively, a JQuery UI popup/modal window could do that more elegantly + you could change the class of the add icon to swap the image and remove the link too.

    Hope this helps,

    Gez
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 29 2012, 04:53 PM - #Permalink
    0
    Corey, the file Gez points to is the right one.

    YES, a notification solution will come. actually, Gez always goes one step beyond ;) and what he says is the way we're going to do it (using nice Growl-like JQuery notifications)

    Gez, it's like you're reading my mind ;)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 29 2012, 05:00 PM - #Permalink
    0
    Thanks Gez/Germi..

    For now I have put a simple alert - client is OK for now. I will attempt jQuery if required.

    Looking forward to the enhancement Germi...

    thanks
    Corey
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 29 2012, 07:04 PM - #Permalink
    0
    Evening,

    Cool! To be honest, I hadn't even considered the function/behavior a problem or a even as a feature it was 'lacking' until I saw this post today! Mainly because my music collection isn't yet making any significant use of the on the go playlist feature - although I should and will.

    More and more, I want to make my site work & feel more like an app and therefore, being able to pop the jwplayer module in a drawer that users can always access without scrolling would be ideal.

    Ultimately, I intend to write this youtube-like, fixed position playlist that sits on my 'bottom bar menu' so it's always in view and could be collapsed. I plan to tackle it using jQuery - hopefully. On this note, I saw someone had written a jQuery plugin for JWPlayer - I think it was on GitHub.

    @germi - Is this the sort of thing you were thinking?

    @odigokid - If browser alerts are too ugly throwing a jQuery dialog is dead simple... It's a 1-liner providing you've included jquery/ui libs:

    JQuery UI Dialog Demo;
    http://jqueryui.com/demos/dialog/

    JQuery;
    http://docs.jquery.com/tutorials

    @germi - RE: Changing (removing) icon after added, jquery methods .addClass()/.removeClass() will do the trick. A simple switch variable could be set for each playlistitem/song id. The function would need to set/check whether the track is in the on the go playlist or not, right?

    So, couldn't it just tap straight into the add to playlist function by passing a ids etc as parmams into the jQuery stuff?

    Anyway, I'm sure there's some real go in this! What are your plans/timescales with this Germi?

    Best of luck!

    Gez
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 30 2012, 07:34 PM - #Permalink
    0
    the JQuery dialog is nice but I was thinking more in a growl-like notification system, such as ROAR for MooTools.

    in any case: yes, you would need to pass the ID, but also make an AJAX call to retrieve the song name or whatver.. like "Bohemian Rhapsody has been added to the Playlist"

    no spefici timeframe.. this is on the list of things to add :) I don't know.. maybe a month, maybe more...

    @odigokid I sent you an email yesterday.. did you receive it?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 30 2012, 08:56 PM - #Permalink
    0
    Hi Germi/Gez,

    Yep for now I just plan to add a jquery dialog like Gez mentioned, ultimately though in my opinion the ROAR type notifications, and the option to "dock" your player like GEZ is talking about are great ideas that I hope get added at some point.

    Germi - yes I got your mail the other day, I have been busy reviewing the playlist logic - I will send a mail on this (and probably add it to a new thread) - but basically my most critical issue at the moment now is to convert the XSPF playlist format to mRSS format so that I can have playlist functionality on the mobile devices. I have some questions I may need to ask, I plan to write a new helper file for mRSS (similar to your XSPF) - I believe moving forward this will be of value for you since this format will support mobile devices.
    The reply is currently minimized Show
Your Reply