meganz/webclient

Getting Direct link to the file for embedding files in the unsupported platforms.

BoQsc opened this issue · 2 comments

BoQsc commented

Forum platform such as Discourse only allows to embed video files that are in this way:
https://hostname.tld/video.mp4

is there any way to get a support for direct linking to the file in the Mega.nz?
The embed code that Mega provides does not work properly there,

image

Hi,

Technically this is not possible, since your data (the video) is encrypted. So in order for it to be decrypted and streamed the embedded iFrame is mandatory to run the client side code which will decrypted the video and play it in a our video-player.

Adding to that,

If you're the admin/owner of the site, you need to add https://mega.nz/embed to the allowed iframes setting.

Thank you.