Closed (outdated)
Project:
MediaElement
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2011 at 01:21 UTC
Updated:
9 Jul 2018 at 17:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lyricnz commentedThe libraries module allows JS to be installed in a couple of places (eg: profiles, sites/all, sites/DOMAIN), so it offers more flexibility than a hardcoded path. Plus IIRC there's some support for libraries in drupal-make files, which allows for simple download+install. IMHO the 100-line libraries modules is "worth it".
Comment #2
dave reidAgreed, this is a won't fix.
Comment #3
damienmckennaThe point is that a) using /sites/all/libraries as a default and b) adding an if() check before using the libraries module results in 80%+ of sites not needing another module. I'll try to do up a patch this week.
Comment #4
dave reidFair point. Please test the following patch.
Comment #5
damienmckennaFunctionally the patch is fine, but did you mean to remove the
$libraries = array();line?Comment #6
dave reidYes. It's unnecessary since you can always just start declaring an array. What I'm used to and how most info-type hooks are implemented in core.
Comment #7
jnettikOld ticket. Closing.