Media Player implementation
Design and Skin Customization
not sure what you're wanting to put in video_row.tpl
if you visit yoursite.com/video and video #4 plays (careful not to conflict with the video modules url, thought that was 'video' ), then you can also pass in the video parameter to use:
yoursite.com/video/play_id=4
and use:
{jrCore_media_player module="jrVideo" field="video_file" item_id=$play_id}to get #4. If that doesnt work then the variable to use is $_post.play_id . Throw a {debug} in the template to get the correct variable name.
If you're saying you want to use that code in a row of items, then jrCore_list is the function to get a list of items.
eg
{jrCore_list module="jrVideo" template="video_row.tpl"}and in video_row.tpl put your video call. That will get you a list of videos and a player for each one.
--edit--
in video_row.tpl something like this:
{if isset($_items)}
{foreach $_items as $item}
HERE IS THE PLAYER FOR ITEM ID: {$item._item_id}<br>
{jrCore_media_player module="jrVideo" field="video_file" item=$item._item_id}
<br>
{/foreach}
{/if}
Docs: "{debug}"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1477/debug
Docs: "{jrCore_list}"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/89/jrcore-list
updated by @michael: 01/17/17 01:20:36AM