solved jr Embed function

johnchansa
@johnchansa
10 years ago
195 posts
I was trying out this function today.When I wanted to insert media on a blog I created,there were no media items to insert.I Only had the playlists I set up.Shouldn't the master admin have access to all media files on the site?

Say I want to do a blog article about a band on my JR5 site and embed their audio or video.....Do I have to import the same media again but on my profile page?
updated by @johnchansa: 02/03/14 02:26:52PM
brian
@brian
10 years ago
10,148 posts
The embed part of the WYSIWYG editor only shows media and items from the active profile - if your site gets to have even a larger amount of items in it, it can get very slow, so it is restricted to the active profile's item.

You should be able to use the direct embed code though - i.e.

[ jrEmbed module="jrAudio" id="5" ]

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
johnchansa
@johnchansa
10 years ago
195 posts
OK.....Thanks.It worked perfectly
Just one other thing.The embedded playlist seem quite large for the blog article.Does the embed code allow you to adjust the size?
Something like [ jrEmbed module="jrAudio" id="5" height="x" width="y" ]
brian
@brian
10 years ago
10,148 posts
Not by passing in params, but you can adjust the width of the player in the modules/jrAudio/templates/embed_audio.tpl - it's set to 75% but you can adjust that.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags