solved Aparna module detail Media Player

blindmime
@blindmime
7 years ago
772 posts
I have created a module with Aparna and I've added a custom field via the form design of the type audio. I'm trying to stream this on the item's detail page with something like this:
{jrCore_media_player type="jrAudio_player_dark" module="bbMeetings" item_id=$item._item_id field="meetings_audio_name" autoplay=true}

I've tried different values for the field parameter. I've tried no field parameter as well. I've tried using the item parameter. I get a player, but nothing is playing. I see the attached item variables in debug.
screenshot_1165.png
screenshot_1165.png  •  48KB


updated by @blindmime: 03/14/18 07:50:12PM
paul
@paul
7 years ago
4,325 posts
Try field="meetings_audio"


--
Paul Asher - JR Developer and System Import Specialist
blindmime
@blindmime
7 years ago
772 posts
Thanks, Paul. That was the first thing I tried, but I think I was using item=$item too. meetings_audio works now though.

By the way, the field parameter isn't in the parameters list in the jrCore_media_player docs even though it's used as an example in the instructions.
paul
@paul
7 years ago
4,325 posts
Have added it to the docs. Thanks.


--
Paul Asher - JR Developer and System Import Specialist

Tags