- Discussions
- 4 644
- Messages
- 12 049
- Solutions
- 81
- J'aime
- 7 607
- Points
- 198
BRANDING REMOVAL can be purchased HERE ($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: https://8wayrun.com/media/
Basic Features:
Because of how different likes/reactions are between XF2.0 and XF2.1, the import process is now a bit more complicated.
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.
Télécharger V2.1.0.3 :
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.
Télécharger V2.1.0.7 :
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 :
If you decide to customize these icons, I recommended adding this code to your EXTRA.css
Support for Mixer has also been added.
Télécharger V2.1.1.0 :
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: https://8wayrun.com/media/
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.
- Follows the basic XF addon procedures:
Add-ons - XenForo 2 Manual - Don't forget to set up your permissions
- 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
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.
Télécharger V2.1.0.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
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.
Télécharger V2.1.0.7 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
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.
Télécharger V2.1.1.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Dernière édition: