Skip to content
  1. Extras
  2. ResVideoGallery
  3. Snippets
  4. ResVideoGalleryUpload

ResVideoGalleryUpload

Snippet for adding video from the frontend.

ResVideoGalleryUpload outputs a form that lets users add video via Ajax.

Parameters

ParameterDefaultDescription
resourceCurrent resource IDResource ID to add video to.
active1Video active after add.
onlyAuth1Show form only to logged-in users.
usergroupsComma-separated user groups that can see the form.
multiple1Allow adding multiple videos at once.
tagsComma-separated tags added to user-provided tags.
allowTagsHTML tags allowed in title/description (strip_tags).
css{+assets_url}css/web/default.cssPath to custom CSS, or empty to load manually.
js{+assets_url}js/web/default.jsPath to custom JS, or empty to load manually.

resVideoGallery frontend add video (old)