Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
videos are not displaying when i tried to show using views. where as it display perfect with page and node view. i tried to search for help but i did not get any, i think this is the problem with jquery media module initialization.
i am getting only file links instead of player. if you need any more info on this let me know.
Thank you,
Ram
Comments
Comment #1
otinanism CreditAttribution: otinanism commentedI have the same problem. Created new content type using filefield and jquery media to embed videos. works fine when displaying the node (jquery-media.js is in ). when creating a view to show this kind of content js file is not in and i get file links only
Comment #2
adrianmak CreditAttribution: adrianmak commentedI got a work around.
add jq_add('jquery_media'); in views template.
Comment #3
otinanism CreditAttribution: otinanism commentedhi, can you specify exactly where you put this line of code?
Comment #4
adrianmak CreditAttribution: adrianmak commentedLet's say I created a page views (drupal 6) for video content type.
Then I used one of suggested template filename under Display output。 I selected views-view--video-gallery--page.tpl.php for my case and add that line of code at the beginning of the page. That's all.
Of course you should understand what is views theming under drupal 6 and I guess you should know.
Comment #5
adrianmak CreditAttribution: adrianmak commentedHere is screen cap
Comment #6
adrianmak CreditAttribution: adrianmak commentedI just found that add this code statement in views template will cause IE 6 problem
IE 6 will popup
"A script on this page is casuing Internet Explorer to run slowly.
If it continues to run, your computer may become unrespoinsive"