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
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
0Hey 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 -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Evening,
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 -
Accepted Answer
0the 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 addI don't know.. maybe a month, maybe more...
@odigokid I sent you an email yesterday.. did you receive it? -
Accepted Answer
0Hi 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.
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »