• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How can I show all media in embed preview?

rhodes

Active member
#1
When I click on the camera symbol (Media gallery embed) to embed a movie in my post a preview is shown below the textarea showing the movies I've uploaded.

In my forum all movies are public youtube videos and I would like to show all of them in the embed preview for all registered users. Any ideas how I can do this?
 

Brogan

XenForo moderator
Staff member
#2
That function applies to your media only.

It would require custom development to make that available to all users.
 

Chris D

XenForo developer
Staff member
#4
XenGallery_ControllerPublic_Media::actionEditorBrowser() is probably a good place to start.

If you're ok with code modifications, you can probably just get away with removing this line:
PHP:
'user_id' => $visitor->user_id,