Hi,
I need help setting up a media player in my site skin. In my jamroom4 site i was able to figure out how to setup a video.tpl page that listed videos from a video_row.tpl page and played them on the same video.tpl page (not directed or played on the profiles video pages).
I am trying to duplicate this function in jam5. I setup a video.tpl page and inserted the following script.
{jrCore_media_player module="jrVideo" field="video_file" item_id=4}
Tested it and video 4 works fine when I load the page. Now I want to be able to successfully load videos 5 or 6 or 7 by linking from a video_row.tpl I created.
How do I code the video.tpl page? I tried replacing
{jrCore_media_player module="jrVideo" field="video_file" item_id=4}
with;
{jrCore_media_player module="jrVideo" field="video_file" item=$item},
{jrCore_media_player module="jrVideo" field="video_file" item=$item.video_url},
{jrCore_media_player module="jrVideo" field="video_file" item=$item._item_id}
Tested each and when I load the page, nothing. What am I doing wrong?
and once coded correctly how do i call it from the video_row.tpl. Is the following correct?
{$jamroom_url}/{$murl}/{$item._item_id}/{$item.video_url}">{$item.video_title}
Please advise
Thanks
MAkande
updated by @makande: 05/03/17 05:29:32AM