Drac's Mega Smart Embed

Drac's Mega Smart Embed 2.0.0

Free Download via Daily Lucky Task
Summary
This download add-on for MEGA allows users to easily embed MEGA links into forums or websites, automatically displaying the appropriate media player or file preview based on the file type, without requiring any additional plugins or settings.
This download add-on for MEGA lets you easily embed MEGA links into forums or websites, automatically displaying the appropriate media player or file preview based on the file type, without requiring any additional plugins or settings

  • Stand-alone: it needs no other MEGA add-on - paste a MEGA link and it does the rest
  • A video gets MEGA's player, a picture shows in the post, a sound plays in Drac's Audio Player (optional), a zip says what is inside
  • Every other file is a colored card with its real name, size and a download button
  • Cards that are "being prepared" turn into the finished one by themselves - no refresh

A plain MEGA embed turns every MEGA link into MEGA's video player - so a zip, a picture or a song gets a player that cannot play it. This add-on finds out what the file really is and shows the right thing instead. MEGA keeps file names encrypted, but the key that is in the link opens them, so the forum asks MEGA once (a small request, many links at a time), reads the real name and kind, and remembers the answer for good.

  • A video - MEGA's own player in a 16:9 frame as wide as the post (you can cap its width).
  • A picture (jpg, png, gif, webp) - the picture itself, in the post, like an [IMG] image - click it and XenForo's picture viewer opens. A background job fetches one copy; JPEG and PNG are shrunk to 1600 px and turned upright, a GIF or WebP is kept as it is so an animation still moves. Until the copy is ready the card says "Preview is being prepared".
  • A sound (mp3, flac, ogg, oga, opus, wav) - Drac's Audio Player - cover, title, artist, album, quality and lyrics read from the file, queue, mini player, speed and visualizer. Drac's Audio Player is optional: without it a sound is simply a download card.
  • A zip - a colored card with a download button and what is inside: how many files, how big they are unpacked, how much smaller the zip is, the types of file (colored chips), the folders and a fold-out list of the first file names. The zip itself is never downloaded - only a few kilobytes from its end are read.
  • Anything else (rar, pdf, m4a ...) - the same colored card - the color follows the kind of file (archive amber, music green, picture pink, video red, PDF red-orange, document blue, spreadsheet deep green, code teal, program purple ...) - with the name, size and a download button.
  • A link MEGA says is gone - a gray, struck-through card: "No longer available on MEGA".
  • Turns by itself - a card that says "being prepared" swaps itself for the finished one a few seconds later - also in a reply that has just been posted by AJAX. No refresh.
  • Paste and go - paste mega.nz/file/..., mega.nz/embed/..., the old mega.nz/#!... style or a mega.co.nz link and it becomes the right tag. Folder links stay ordinary links.
  • Safe by design - only MEGA's own storage servers are contacted, through XenForo's own "untrusted URL" client (it refuses internal addresses and re-checks redirects); size limits (20 MB for a picture and 100 MB for a sound by default); a picture is checked by its bytes, not its name. Any doubt or error leaves the tag to the video player - the worst case is what a MEGA link always showed.
Author
axtona
Views
37
Extension type
zip
File size
170 KB
First release
Last update
Latest file name
Drac_MegaSmart_v2.0.0.zip
MD5
5623a6c583fdb3b580df5c0376d287e7
VirusTotal
View report
Ratings 0.00 star(s) 0 ratings
Link was Broken? Send message to the Website Team and we will assist you quickly!
Support Developer If you are satisfied with the test or your project has earned you money, Click the More Information button to support the developer by purchasing.

More resources from axtona

Job & Cron Monitor A
The "CLI Job Runner" add-on for XenForo allows users to manually run and monitor their job queues and cron...
[DI] ForumBot A
ForumBot is an AI-powered managed service that integrates seamlessly into existing forums, providing...
Admin API: read-only operational endpoints A
This product provides read-only API endpoints for XenForo forums to expose system diagnostics such as...

Similar resources

[ITD] MEGA Video Embed Sharing N
The product allows users to easily embed videos shared from MEGA.nz onto their forum boards using BB Code...
[cXF] Mega Menu Tab A
The product allows users to add a mega menu tab to their navigation with customizable options such as...
[ITD] Embed Sharing from Crazy Games N
The product allows users to easily embed CRAZY GAMES games into their forums or websites via BB Code, with...
Back
Top