s9e Media Sites

s9e Media Sites 2.8.6

No permission to download

zoldos

Well-known member
Hi @JoshyPHP ! I was wondering if you can add: https://mega.nz/ It uses encryption, but links can be shared which include the key. I'd like to use it primarily for videos. Let me know if you need a sample URL.

If you can do it or not, I'll still throw you a donation next month since you've helped me in the past. Thanks!!
 

Chromaniac

Well-known member
So the embed code seems to be in this format:

<iframe width="640" height="360" frameborder="0" src="https://mega.nz/embed/ABCDEF#XYZ" allowfullscreen ></iframe>

While the public link is in this format:

https://mega.nz/file/ABCDEF#XYZ

I imagine this is going to create a lot of problems because not all Mega links are going to be videos but the code would try to embed it because the format is going to be the same.
 

zoldos

Well-known member
So the embed code seems to be in this format:

<iframe width="640" height="360" frameborder="0" src="https://mega.nz/embed/ABCDEF#XYZ" allowfullscreen ></iframe>

While the public link is in this format:

https://mega.nz/file/ABCDEF#XYZ

I imagine this is going to create a lot of problems because not all Mega links are going to be videos but the code would try to embed it because the format is going to be the same.
I'm using it only for videos.... :) How do I implement this so I can paste a Mega link and it embeds automatically?
 

CZ Eddie

Active member
JoshyPHP updated s9e Media Sites with a new update entry:

Updated TikTok

Hi, is TikTok supposed to show up as a simple URL or should it be expanded with a video?

As a random example, we only see this link:

Code:
https://www.tiktok.com/share/video/7145435366529551621?referer_url=https%3A%2F%2Fwww.indy100.com%2Fpolitics%2Fgiorgia-meloni-melons-election-day&referer_video_id=7147263913200045317&refer=embed&referer_url=https://www.indy100.com/politics/giorgia-meloni-melons-election-day

Show up like this:

1664213125707.png
 

JoshyPHP

Well-known member
It's not currently recognized by the add-on but I'll add support for it asap. In the meantime, you can post it manually using the following BBCode: [MEDIA=tiktok]7145435366529551621[/MEDIA]

On a side note, it seems that TikTok has discontinued their original embedded player, the one that didn't require you to give them carte blanche to execute their JavaScript on your site. I'm going to have to update the embed to use a hosted iframe similar to Twitter's and others. The new player is wider and more wasteful in terms of screen real estate but it doesn't look like we have a choice anymore.
 
Last edited:

zoldos

Well-known member
So the embed code seems to be in this format:

<iframe width="640" height="360" frameborder="0" src="https://mega.nz/embed/ABCDEF#XYZ" allowfullscreen ></iframe>

While the public link is in this format:

https://mega.nz/file/ABCDEF#XYZ

I imagine this is going to create a lot of problems because not all Mega links are going to be videos but the code would try to embed it because the format is going to be the same.
I still can't get it to work. Keeps saying "File no longer available". :( Thanks tho!
 

JoshyPHP

Well-known member
@Mave I can confirm that Twitch clips do not appear to work properly on your website. However, I have also confirmed that Twitch clips work fine on other forums that use this add-on. This one, for example.

I think it is entirely possible that the issue is limited to your website. Maybe Twitch doesn't like the .sx TLD (a Scunthorpe problem) or something like that.

You can try posting Twitch's official embedded player in a static HTML file somewhere on your website if you want to eliminate the add-on as a possible cause:
HTML:
<iframe src="https://clips.twitch.tv/embed?clip=DeterminedBumblingDugongKippa-yIBgKvaqqTFtwXTs&parent=forums.tms.sx" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>

If you have alternative domain names for your website, you may try them to see if it's related as well. If nothing works, try contacting Twitch, see if they know what's going on.
 

Mave

Active member
@Mave I can confirm that Twitch clips do not appear to work properly on your website. However, I have also confirmed that Twitch clips work fine on other forums that use this add-on. This one, for example.

I think it is entirely possible that the issue is limited to your website. Maybe Twitch doesn't like the .sx TLD (a Scunthorpe problem) or something like that.

You can try posting Twitch's official embedded player in a static HTML file somewhere on your website if you want to eliminate the add-on as a possible cause:
HTML:
<iframe src="https://clips.twitch.tv/embed?clip=DeterminedBumblingDugongKippa-yIBgKvaqqTFtwXTs&parent=forums.tms.sx" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>

If you have alternative domain names for your website, you may try them to see if it's related as well. If nothing works, try contacting Twitch, see if they know what's going on.
@JoshyPHP thanks for getting back at me, I did discover this:

First link works, second one doesn't.
See it live here: https://forums.tms.sx/threads/the-twitch-streamers-thread.44194/#post-350546

1664629379478.png
 

Wing

Active member
Anyway to get MS OneDrive (Powerpoint, excel, word ect) working with this? Similar to how Google docs work?
 

JoshyPHP

Well-known member
First link works, second one doesn't.
Right, some time ago the new Amazon-powered Twitch added a second part to their clips' URLs and you need both parts for it to work. How did you end up with the non-working one?

Please add redgifs it's the same as gfycat but NSFW
I don't add adult content websites to this add-on, sorry. I've been thinking about offering a second add-on as an extension pack for adult websites but I'm concerned about the maintenance/upkeep and potential complications.

Anyway to get MS OneDrive (Powerpoint, excel, word ect) working with this? Similar to how Google docs work?
I don't know. In my experience, Google Docs has been nothing but a headache for me. You might be able to create a custom media site for it, or try the general support forum to see if somebody has experience with OneDrive.
 

JoshyPHP

Well-known member
JoshyPHP updated s9e Media Sites with a new update entry:

Added support for XenForo's internal-data://temp cache

Starting with this update, pages scraped via this add-on are saved to the internal-data://temp, which is usually located at the root of your forum in the internal_data/temp directory. The filenames will appear as s9e.xxxx.html.gz where xxxx is a string of 32 alphanumeric characters. The files are automatically removed by XenForo after a few days.

In most cases it will not make any difference. In some rare cases, it may slightly...

Read the rest of this update entry...
 
Top