Closed (works as designed)
Project:
JW Player Module for Drupal
Version:
6.x-1.4
Component:
Miscellaneous
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2010 at 12:45 UTC
Updated:
13 Mar 2012 at 07:27 UTC
Comments
Comment #1
JW Player commentedHi quixxel,
The tag only works with nodes at the moment. However, the module does make available a theme function which will generate the javascript you would need to insert into your view.
An example looks like the following:
If you need anymore help setting it up, just let me know.
Thanks.
Comment #2
verta commentedHow about using a view that creates an XML feed of your video nodes and use that as a playlist. If you have Views Bonus you have XML as a view format. Found this online: https://elearning.psu.edu/elearning/using-drupal-generate-jwplayer-frien...
Comment #3
verta commented(adding a tag)
Comment #4
verta commentedSo, here is my plan, set up a video content type with an emfield, and create a view on it that has an RSS feed (need Views Bonus to enable that kind of display on the view).
Create a new node of an article/page/story type and put the JWPlayer tag in it, with the path to the RSS feed coming out of the view as the playlist.
Feasible?
Comment #5
JW Player commented@verta,
That should work. It actually sounds reminiscent of http://drupal.org/project/xspf_playlist which I believe works with the JW Player Module. Although in his case, he's using a new content type to represent the playlist.
Comment #6
JW Player commentedComment #7
artatum commentedHi
1)
If i use your code 'print theme... from above,
print theme("jwplayermodule_render_player", "player.swf", $flash_vars);
where I replaced "your_custom_player" by "player.swf"
I got :
...whatever I use for replacement!
This place "your_custom_player" is not supposed to wait for an xml feed !!!
dont copy...
2)Secondly, as I'm in Views, how to pass over in $flash_vars the xspf feed I built in the same view ?
file =' ???
thx
Comment #8
alex72rm commentedIt works great!
Add a phpcode field:
Comment #9
dilipvertical commentedwhere to add jwplayermodule_render_player