jquery-media.js file not included in while displaying with views

rkdeveloper - January 8, 2009 - 12:49
Project:jQuery Media
Version:6.x-1.4-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

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

#1

otinanism - March 23, 2009 - 21:45

I 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

#2

adrianmak - April 2, 2009 - 12:05

I got a work around.

add jq_add('jquery_media'); in views template.

#3

otinanism - April 2, 2009 - 15:58

hi, can you specify exactly where you put this line of code?

#4

adrianmak - April 2, 2009 - 23:47

Let'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.

#5

adrianmak - April 2, 2009 - 23:43

Here is screen cap

AttachmentSize
Snap2.jpg 32.19 KB
Snap1.jpg 32.61 KB

#6

adrianmak - April 3, 2009 - 06:12

I 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"

 
 

Drupal is a registered trademark of Dries Buytaert.