Posted by thepiano on September 6, 2008 at 3:24pm
Jump to:
| Project: | jQuery Media |
| Version: | 6.x-1.4-beta1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
It works as claimed when I view a CCK node containing that filefield: the player was loaded.
When I create a Views that display that CCK node type containing that filefield, the link was shown instead of the player.
I realised that in the Views page, the <script type="text/javascript" src="/sites/all/modules/jquery_media/js/jquery.media.js?D"></script> isn't there.
Is it a Drupal error or JQuery Media error, which results in that script tag not added in a Views page?
regards,
Yong Meng
Comments
#1
subscribing
#2
same problem here with Drupal 5 version.
#3
Any solution for this issue??? I have the same problem.
#4
subscribing
#5
Seems like this makes this nearly useless for any serious project build since displaying these items in views is nearly required. Off to look for another solution until this is resolved.
#6
Pardon if I'm poking my head into places where I'm not so knowledgeable, but calling jquery_media_add() (and thus drupal_add_js()) from hook_footer() does not allow the js to be added to the header. Would calling it in hook_init() instead cause any issues? It seems to work, but my testing was not exactly, um, "extensive".
#7
#6 works for me, thanks
#8
Could you please elaborate on the solution?
How to make jQuery Media work with views?
Many thanks!
Bence