For a lot of good reasons it is better to have flash player or others external libraries in both module separate and all modules common place.
Current usage is to place these kinds of data in sites/all/libraries/.
See module libraries.
Furthermore module SWF Tools has recently implemented this method.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2_added_support_for_libraries.patch | 6.22 KB | michaek |
Comments
Comment #1
heylookalive commentedAgreed on this, will look into using the API without necessarily requiring the module dependency.
Comment #2
Anonymous (not verified) commentedOK !
This module could help you in _video_for_everbody_get_available_players() function.
Libraries module have a very small size and can be use by other modules.
I do not want to have a lot of modules on my Drupal sites but as for me this one is very important.
Comment #3
ekes commented+1 for libraries dependency, it's gaining popularity and not repeating the detection code is worth it.
Comment #4
michaek commentedI implemented this, requiring the dependency. I don't think this code is perfect yet, but I think it's definitely worth using as a starting point. The patch I've attached follows from the patch I posted to #863636: Refactor html output to template, so don't be surprised if it doesn't work on its own!
Comment #5
heylookalive commentedHi,
Thanks for the code :) I'll review it and get use of libraries API into the next release.
Thanks!
Comment #6
klonos...following.