Repost from the documentation comments:
elric
15 Oct 2014 05:44:01PM @elric:
Hello, I've been looking for a way to use this to embed the dark player for video on my index.tpl, and have it play all videos on my site with a specific genre as a play list. Sort of like the old Jamroom 4.x with the admin video play list...Any suggestions?
Cheers,
~E
michael
16 Oct 2014 02:09:08AM @michael:
Better to ask questions in the forums, I almost missed this one. The code you want is:
{jrCore_media_player module="jrVideo" search="video_genre = rock"}
To play all videos in the 'rock' genre.
The other way to do it is to use the {jrCore_list} function to create the list of items, then pass that into the player.
{jrCore_list module="jrVideo" search="video_genre = rock" template="playlist.tpl"}
Then in playlist.tpl
{jrCore_media_player module="jrVideo" items=$_items}
Both ways will work.
- See more at: https://www.jamroom.net/the-jamroom-network/documentation/development/788/jrcore-media-player#sthash.0THyaCkE.dpuf
updated by @elric: 12/10/14 04:40:13PM