Closed (fixed)
Project:
Drupal.org CVS applications
Component:
co-maintainer application
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Mar 2010 at 14:07 UTC
Updated:
6 Jan 2020 at 09:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
blazey commentedComment #2
avpadernoHello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review the code, and report what needs to be changed.
As per http://drupal.org/cvs-application/requirements, the motivation message should be expanded to contain more details about the features of the proposed module, and it should include also a comparison with the existing solutions.
Comment #3
avpadernoFiles available from third-party sites should not committed in CVS.
Comment #4
blazey commentedthe motivation message should be expanded to contain more details about the features of the proposed module
Ok so now the module is a CCK filefield formatter. If audio files are attached to the field it displays audio player with a playlist. It does nothing else now.
a comparison with the existing solutions
There are no solutions like this available for drupal. jPlayer is fully CSS and HTML themeable, no other module provides that. In 1pixelOut plugin you can change some color, but here you can change the whole look of the player
Files available from third-party sites should not committed in CVS.
I know. I just wanted to upload a "plug and play" version :). It will be removed before commiting and install.txt file will be added
Comment #5
avpadernoWe actually review the code that will be committed in CVS; if files available from third-party site will not be committed, then those files should be removed from the archive uploaded here.
Comment #6
blazey commentedI redesigned the module and it defines a new field type now. I also removed files from third party sites and added INSTALL.txt
Comment #7
avpadernoThere is a function to call for such purposes; if the file is loaded in any cases, then it should be merged with the module file.
See http://drupal.org/coding-standards to understand how a module should be written. In particular, see how the code should be formatted, and what indentation character should be used.
Comment #8
blazey commentedThe module is now formatted correctly, i hope :)
Comment #9
blazey commentedComment #10
danielhonrade commentedHi, I tested it on my dev site: http://dev.talentfactoryinc.net/news/news-1, great work!, we need this module, it works with html5 which means it works with iphone, hope to seeing more options. Great alternative for none flash friendly browsers.
Comment #11
zzolo commentedNote the format of the docblock and the hook implementation standards:
These all need to be in an .install file.
This refers to a file that does not exist.
As there are other audio players, consider calling this something more specific.
This line suggests that .ogg is supported as well.
var files = settings.files;
var myPlayList = new Array();
for (i in files) {
myPlayList[i] = files[i];
}
All this seems a little redundant and wasteful.
Overall pretty good. Keep up the good work.
Comment #12
blazey commentedThanks for such thorough check :). Here's the updated version.
Ad.3
The blue monday skin files are GPL 2. I attached them to the module, because they're difficult to find at jplayer site.
Ad.15
ogg files are supported but you have to choose ogg support OR mp3 support so i limited extensions to mp3 only for now
Comment #13
avpadernoRemember to change status, when you upload new code.
Comment #14
zzolo commentedI am still curious if the Blue Monday "theme" is used. I don't remember seeing it in the code anywhere? If it is not used, it should definitely not be included, and overall, the policy is not to allow third-party code. I always have trouble finding the article on third-party code.
Comment #15
avpadernoSee http://drupal.org/node/422996.
Comment #16
blazey commentedThe theme is used - the css file is attached and it uses the jpg.
The skin is dual licensed under the MIT and GPL licenses but in my opinion the second argument (is generally difficult to find in the needed version.) applies here. Files aren't included in the library and can be downloaded only from: http://www.happyworm.com/jquery/jplayer/latest/developer-guide.htm (skins section at the bottom of the document).
Should I remove them from the package?
Comment #17
zzolo commentedWell, I think you have a valid point, but I am still new to reviewing and I do not actually have power, so it would be nice if we could get someone who is more senior to review.
Comment #18
avpadernoI think that means that, in example, the module is using an old version of a jQuery plugin, for which is not given anymore the link to download it. The fact you can provide a link to use to download the files mean it's not that hard to find the files; in any cases, it should be enough to add the download link in the project page, or in the README.txt provided with the module.
Comment #19
zzolo commentedFrom what @kiamlaluno is suggesting, remove the third party code and put in instructions on how to obtain it.
Comment #20
blazey commentedfiles removed
Comment #21
avpadernoI am changing status as per previous comment.
Comment #22
zzolo commentedWould be something like this:
Looking better!
Comment #23
blazey commentedPoints 1-4 applied. At the moment only one instance per page is supported. I've added a warning about this in readme file.
Comment #24
blazey commentedComment #25
ccoppen commentedI found this, and I would suggest a couple of things myself as someone who is very interested in using this.
1) Create an admin section to turn various config options on/off. One reason for this is autoplay. I really don't want the file to play automatically, but others might.
2) Configurable skin options. I like 1PixelOut's simplicity.
3) Downloadable link for the file.
Just some tips from a potential user of the module.
Comment #26
blazey commentedThanks for your comment. I plan to start adding these and many more features as soon as i get an account
Comment #27
zzolo commentedComment #28
zzolo commentedUnfortunately this has just been released:
http://drupal.org/project/jplayer
I think the new way to go is to try to become a co-maintainer of the module or put up another module for review. I am sorry.
Comment #29
quicksketchHi blazey, I am terribly, terribly sorry. I searched for existing modules first and didn't find any sign of one, so I went ahead and created the project. However I feel that it's taken into account most, if not all, of the concerns mentioned here (autoplay, unique IDs for multiple players, GPL concerns, etc.) In addition we also have support for multi-value CCK fields being displayed as a playlist, and views support for displaying an arbitrary collection of files as a playlist. It doesn't create a new widget for CCK, since adding such a widget is completely unnecessary. Instead it just creates formatters for existing FileFields similar to the way ImageCache or SWFtools work.
Regarding the new project, I am already responsible for plenty of other modules and I would be very happy to turn over ownership to blazey. I'd prefer to stay on as a co-maintainer (at least until we have a final release and Drupal 7 version), but since I totally slighted a new contributor accidentally, I'd be okay with turning over the project entirely if he'd like full responsibility for it. If his application is approved I'll transfer the project over to him.
Comment #30
blazey commentedHi quicksketch. First of all, I think there is nothing to be sorry about :). Your module looks better and I'd be very happy to continue working with it
Comment #31
zzolo commentedSo, it sounds like we should create a CVS account for blazey and quicksketch can make him a co-maintainer. Passing onto someone with power.
Comment #32
avpaderno@zzolo: You can now approve CVS accounts (see #758046: Proposal to give to zzolo the role of CVS administrator).
Comment #33
zzolo commented@blazey you now have CVS access. You'll have to coordinate with @quicksketch to get co-maintainer access to the jplayer module. I have included some links in the message with your CVS approval; please read these to understand how Drupal CVS works.
Comment #34
quicksketchI've added blazey as a maintainer and we'll co-ordinate any further details through e-mail. Thanks zzolo, kiamlaluno, and sun for the reviews.
Comment #36
korzh-nick commentedhow can enable support. ogg?
Comment #37
zzolo commented@kolebas this queue is specifically for CVS applications. Please see the jPlayer issue queue for support questions:
http://drupal.org/project/jplayer
http://drupal.org/project/issues/search/jplayer
Comment #38
avpadernoComment #39
avpadernoI am giving credits to the users who participated in this issue.