XF 2.2 XF2 [8WR] XenMedio 2 (Media) PRO 2.1.1.5

BRANDING REMOVAL can be purchased ($50)

This is a complete rewrite of my media library system for XenForo. XenMedio is a library system where users can submit videos hosted on several popular media platforms (ie: YouTube, Dailymotion, etc). They can then tag keywords and users directly to videos, which can help search and find them in a *booru-style system.

Demo:

You must be registered for see medias

Basic Features:
  • Automatic retrieval of media data from submissions.
  • Content tagging through keywords and users.
  • *booru-style keyword/user searching and filtering.
  • Rudimentary support for embedding for local content.
  • Full integration into XenForo's content handler system.
Installation:
  • Follows the basic XF addon procedures:
  • Don't forget to set up your permissions
Services:
  • DailyMotion
  • DailyMotion Playlists
  • FlickR (requires an API key)
  • FunnyOrDie
  • GameSpot
  • Imgur
  • MetaCafe
  • NicoVideo
  • RuTube
  • Soundcloud
  • Twitch (requires an API key)
  • Vimeo
  • Vimeo Playlists
  • YouTube (requires an API key)
  • YouTube playlists
Upgrading from XF1:
Because of how different likes/reactions are between XF2.0 and XF2.1, the import process is now a bit more complicated.
  • Install the 2.0.x version of this addon FIRST; do not install the XF 2.1.x version!
  • Run the appropriate import procedure in Tools > Import Data
  • Install the 2.1.x version of this addon after you're sure all data has been successfully imported.

V2.1.0.0 - CHANGELOG
This addon has been updated with support for XF2.1. XF2.1 will be required for this and all future updates.
GuzzleHTTP cURL updated
Approval queue redesigned
Reaction handlers
Bookmark handlers
Share controls
Push notifications
Linters (unfurling) will now show a proper media description.

V2.1.0.1 - CHANGELOG
Media thumbnails will now be called correctly if you are using a CDN. This function may not work properly if you are deleting the local images from your /data folder after syncing to the CDN. BOTH files must exist (since file checking is done locally), but the user will be served the CDN version.
Fixed the requirement notice for XF2.1.

V2.1.0.2 - CHANGELOG
Fixed some phrases accidentally linked to the wrong addon.
Fixed an accidental reversion to a template from 2.0.0.7.

V2.1.0.3 - CHANGELOG
Fixed the search error which occurs when creating/editing a playlist. As a result, playlists are now appear in search results.
Fixed the MySQL error when trying to /play a playlist which has no media in it.

Download V2.1.0.3 :
[REPLYTHANKS] [/REPLYTHANKS]
V2.1.0.4 - CHANGELOG
Fixed a styling issue with play icons and font awesome.
Fixed an error when sharing media comments.

V2.1.0.5 - CHANGELOG
When Chrome got rid of Pepper Flash from the browser, we switched over to Wimpy to play local media. Apparently this broke music albums and I never noticed. This has been fixed to follow the Wimply playlist XML format.
All instances of the phrase "media" within this addon have been changed to "EWRmedio_media" as a separate phrase.
Normalized some search and font-awesome issues.

V2.1.0.6 - CHANGELOG
Fixed some abstracted image paths for people who use CDNs.
Added the ability to disable the individual media page, and instead redirect to that media's callback URL.

Because YouTube does not count embedded media in their metrics, this option has been added. By enabling this option, several other things will also be disabled by necessity. Sorting media by comments, reactions and views will automatically be removed. The trending/reaction box on the bottom left of the media thumbnail will also be removed, since it no longer serves a purpose.

An "edit" link will be added to the media tile, since there will no longer be an individual media page to edit the media. A downside of using the redirect option is that users will no longer be able to quick-tag media for the *booru system; only the media owner or moderators will be able to tag media.

BbCode embedding of media popouts will still function as normally... however, the popout comments option will be disabled.

V2.1.0.7 - CHANGELOG
Added additional search constraints for the media library.
Normalized the ewrmedio_media phrase in the quick search menu.
Gallery service embeds will no longer be put into aspect ratio boxes.
Bit Chute has been added as a service. Like GameStop, FunnyOrDie and Soundcloud, not all information can be fetched, since they don't have a RESTful API.
YouTube embeds have been updated to follow GDPR.
YouTube embeds have been updated to support various mobile functions, such as accelerometer and picture-in-picture.
Imgur gallery URLs have been added in the RegEx for Imgur. There doesn't appear to be any difference from their album URLs... but for some reason, some places on Imgur provide a different URL.

Download V2.1.0.7 :
[REPLYTHANKS] [/REPLYTHANKS]
V2.1.0.8 - CHANGELOG
Major changes to the way the Twitch API works. Starting this month, all requests to the Twitch Helix API now require an Oauth2 token. To facilitate this requirement, some slight changes have been made to the services table.
There are now TWO "API key" fields on the service edit screen. For other services that require an API key, only the first field is required. However, for Twitch, both fields are needed. The first field, will be your client ID, same as before. But the second field will be your now required client secret.
The next time this addon tries to contact Twitch, it will automatically retrieve an Oauth2 token on your website's behalf. This token expires after 60 days; in which case a new token will be retrieved.
If you also use XenRio, use the same client ID and secret for both addons.
Fixed an issue with Imgur when trying to scrape an album which has no title.

V2.1.0.9 - CHANGELOG Fixed some errors with the account media page where you could not change pages, add media to playlists, or bulk delete media.

V2.1.1.0 - CHANGELOG
YouTube has been doing a lot of changes to their API guidelines in the past few months (XenRio users may know of the problems caused by this). With these new changes, they also now have an API Compliance Enforcement team. Unfortunately, this team has determined that you can not have a generic "play" button on any YouTube video links generated through their API... as it violates their branding guidelines. And if you don't follow the guidelines, they threaten to terminate your API access.

So this new version adds a customizable icon field for services. If you leave it blank, you will continue to use the default generic play fa-play-circle button. However, if YouTube ever comes knocking on your door about it, you can customize this field with fab fa-youtube and the hover will be replaced with a YouTube brand asset. Not all services have font-awesome branding however...

Available font-awesome icons :

fab fa-dailymotion
fab fa-flickr
fab fa-mixer
fab fa-soundcloud
fab fa-twitch
fab fa-vimeo
fab fa-youtube

If you decide to customize these icons, I recommended adding this code to your EXTRA.css

.fa-dailymotion { color: #00AAFF !important; }
.fa-flickr { color: #FFFFFF !important; }
.fa-mixer { color:#78D3FF !important; }
.fa-soundcloud { color: #FE5000 !important; }
.fa-twitch { color: #9146FF !important; }
.fa-vimeo { color: #1AB7EA !important; }
.fa-youtube { color: #FFFFFF !important; }

Support for Mixer has also been added.

Download V2.1.1.0 :

Version 2.1.1.1 - CHANGELOG

Small entity changes in order to comply with Twitch's new embed policies.
This update will reinstall/overwrite your service settings. If you have made customizations, you may need to re-apply them.
Fixed a bug where media would be double published to news feeds.

Version 2.1.1.2 - CHANGELOG

You can now set usergroup permissions on a per-category basis. You can now make it so only certain categories can only be viewed by specific usergroups. As such, media belonging to those categories will be restricted as well.
The media widget can now be set to display random media, instead of the newest media.
FunnyOrDie and Mixer have been removed from the supported services.
Fixed media scraping for the NicoVideo service.

2.1.1.2 - HOTFIX

If you are already running 2.1.1.2 without any issues; you don't need to download this update. All this update does is a small fix in the setup file, for NEW installs. If you were running a previous version, and upgraded to 2.1.1.2, this update does not affect you.

Version 2.1.1.3 - CHANGELOG
Updated the addon to be compatible with the PCRE changes in the most recent version of PHP. It will still work with the older versions of PHP without issues.
You can now edit user groups when creating a media category.
Download V2.1.1.3 :

Version 2.1.1.4 CHANGELOG
Added Odysee as a service. I dont know why, but thumbnails can not be fetched for some videos. I don't understand what determines when a thumbnail can and can't be fetched. For instance, I had no problems fetching thumbnails for LotusEaters videos, but I couldn't get anything from SaltyCracker.
Added some checks so that if a thumbnail fetch fails, it does not error out and simply sets the default thumbnail.
Download V2.1.1.4 :

Version 2.1.1.5 - CHANGELOG :
- LBRY as a web front-end is completely gone. It's functions have been completely rolled into Odysee. With that, the APIs for Odysee have changed quite a bit. With that, unique IDs for media have also changed. So embed codes, as well as older imported videos no longer function. Nothing can be done about this. Such is the life of new services which haven't nailed down their structure yet. The Odysee service has been updated to match this new structure. You should delete old Odysee videos from your library.
- With the new structure, the random thumbnail bug with Odysee seems to have been solved. The API is properly fetching thumbnails from all channels... .
- BUG FIX : fixed a bug related to verbose warnings in PHP 8.0. I don't have PHP 8.0, so I have no way to test this fix; so I am going by reports from others on this fix.
Download V2.1.1.5 :
 
Back
Top