Adding media
JoomMedia holds four types of media: audio, documents, images and videos. You add them from the administrator, and members add them from the Upload page on the site.
In the administrator
Go to Content > Media Items and click New, or click Add Media on the dashboard. The add screen has one panel per method. A panel only shows when its method is turned on in Options > Uploads > Upload Methods.
| Panel | What it adds | Switch |
|---|---|---|
| Select Files to Upload | Files from your computer, by drag and drop | Enable file uploads |
| Add Remote Media | Media from YouTube, Vimeo and other sites, by link | Enable remote imports |
| Add Remote Streams | RTMP or HLS streams, with an MP4 fallback | Enable rtmp imports |
| Add Embed Code | Any embed code from another site | Enable embed imports |
| Add Remote File | A link to a media file on another server | Enable remote imports |
| Bulk Import From Server | Files already on your server | Always shown |
With the default Quick multi uploads workflow, the add screen asks only for the files or links. Afterwards the new items are in the Media Items list. Open each one to set its category, description, tags and other details, see Editing media.
Upload files
Drop files on Drop your files here or click to upload, or click there to choose them. You can drop several files at once.
The file type decides the media type. JoomMedia accepts the extensions listed in Storage > File Extensions whose media type is enabled in Options > Features. On a new install these are:
| Media type | Extensions |
|---|---|
| Audio | mp3, wma, aac |
| Documents | pdf |
| Images | jpg, jpeg, png, gif |
| Videos | mp4, mov, avi, flv, mpg, mpeg, divx |
To accept another type, add it in File Extensions and choose its media type. Only add types you trust: JoomMedia checks the file extension, not the content of the file. Never add php, html, svg or other types a browser or server can run.
The largest file allowed is the smallest of Max upload size (MB) in Options > Uploads (200 MB by default) and PHP's upload_max_filesize and post_max_size.
After the upload, JoomMedia makes the thumbnails and web versions of the file, see Media processing.
From another site
Paste the link of the page that shows the media, for example a YouTube video page. With the Quick multi uploads workflow you can paste several links, one per line: "You may import multiple media at the same time by adding each remote link on a separate line."
These sites are supported, each by its own plugin:
| Site | Media type | Page |
|---|---|---|
| YouTube (youtube.com and youtu.be) | Video | YouTube |
| Vimeo | Video | Vimeo |
| Dailymotion | Video | Dailymotion |
| Odysee | Video | Odysee |
| Fox News | Video | Fox News |
| SoundCloud | Audio | SoundCloud |
| Flickr | Image | Flickr |
JoomMedia stores the title, description and thumbnail it can read from the site. The media keeps playing from the other site. Nothing is downloaded to your server, and no processing is needed.
Streams
In Add Remote Streams, choose the Stream Type (RTMP Stream, HLS Stream or MP4 Fallback), the Stream Quality and enter the Stream URL. Click Add More Sources to add more qualities or a fallback to the same item. JoomMedia plays the stream; it does not create it.
Embed code
Paste the embed code from the other site, usually an <iframe>. JoomMedia removes script, link and style tags from embed codes unless you allow them in Allowed Tags of Embed Imports (Options > Uploads). Only allow them if you trust everyone who can add embed codes.
Remote file
Enter the full address of an audio, video, image or document file in Remote file link. The file stays on the other server: JoomMedia links to it and reads the media type from its extension.
Bulk import from server
Use this to add many files at once, for example after copying them by FTP. The panel shows the folders inside your site's media folder. Open a folder, tick the files and import them. JoomMedia copies the files into its storage and processes them like uploads.
On the site
Members add media on the Upload page (menu item type Upload, see Menu items). It offers:
- Drop files here or click to upload, for file uploads. Members need the Upload Media permission,
- or add remote media, for links to other sites. Members need the Add Remote Media permission.
Next to the drop area, members choose the category, tags and Privacy of the new media. Streams, embed codes, remote files and server imports are only available in the administrator.
When a member opens the Upload page from one of their albums, groups or playlists, the new media goes into it.
Terms and conditions
To make members accept your terms before they upload, set Agree to terms to Yes in Options > Uploads and choose the article with your terms in Upload terms. The Upload page then shows "Upload terms & conditions" with an Accept button first.
Upload limits
Set Enable upload limits to limit how much each user group may upload. See Upload limits.
Approval
With New media set to Yes in Options > Approvals, media added on the site waits as Pending until you approve it. See Moderation.
Upload workflow
Upload workflow in Options > Uploads has two choices:
- Quick multi uploads (default): members drop many files at once and fill in the details later.
- Single uploads: the details are asked first, then one file is uploaded.
Keep Quick multi uploads. In JoomMedia 6.1.5 the administrator add screen stops with an error when Single uploads is chosen.