s9e Media BBCodes pack

s9e Media BBCodes pack 20200722

No permission to download

ZuluView

Member
@ZuluView Probably not. If there's a specific site that uses Kaltura as content distributor that you want to sponsor I can look into it, otherwise it's not really possible.

@Goodnightpanda XenForo's media site feature doesn't support that kind of use so it would require a custom processor. That's not a feature that I intend to implement.
Can I pay you to support/implement it?
 

JoshyPHP

Well-known member
@Terra I have updated the list of sites to match the s9e/MediaSites add-on. It should work with the new Twitch embed but I don't have a working XF 1.5 board to test it on.
 

Terra

Member
@Terra I have updated the list of sites to match the s9e/MediaSites add-on. It should work with the new Twitch embed but I don't have a working XF 1.5 board to test it on.
Unfortunately its still not embedding properly and showing the same twitch image/message. Is there anything I can do to help solve this issue?
 

JoshyPHP

Well-known member
The first step would be to make absolutely sure that you're using the latest version of the add-on, because I don't think you are.

Look at the page's source (the actual source for the page, not the live DOM) the markup for the Twitch embed should look like this:
HTML:
<span data-s9e-mediaembed="twitch" style="display:inline-block;width:100%;max-width:640px"><span style="display:block;overflow:hidden;position:relative;padding-bottom:56.25%"><iframe allowfullscreen="" loading="lazy" onload="contentWindow.postMessage('','https://s9e.github.io')" scrolling="no" src="https://s9e.github.io/iframe/2/twitch.min.html#channel=;clip_id=AcceptableCooperativeYogurtTwitchRPG;t=;video_id=" style="border:0;height:100%;left:0;position:absolute;width:100%"></iframe></span></span>

Or just post the URL for the page shown in your picture. To be clear, I'm talking about the page that embeds Twitch.
 

Terra

Member
The first step would be to make absolutely sure that you're using the latest version of the add-on, because I don't think you are.

Look at the page's source (the actual source for the page, not the live DOM) the markup for the Twitch embed should look like this:
HTML:
<span data-s9e-mediaembed="twitch" style="display:inline-block;width:100%;max-width:640px"><span style="display:block;overflow:hidden;position:relative;padding-bottom:56.25%"><iframe allowfullscreen="" loading="lazy" onload="contentWindow.postMessage('','https://s9e.github.io')" scrolling="no" src="https://s9e.github.io/iframe/2/twitch.min.html#channel=;clip_id=AcceptableCooperativeYogurtTwitchRPG;t=;video_id=" style="border:0;height:100%;left:0;position:absolute;width:100%"></iframe></span></span>

Or just post the URL for the page shown in your picture. To be clear, I'm talking about the page that embeds Twitch.
I updated Wednesday after you uploaded a new file and I could have sworn it didn't work. I just tried again after your comment about my version probably being out of date (20200722), and now it works. So you were right. Thank you.

Just for clarification: 2020-07-22 copy fixed twitch issues everyone!
 

Stuart Wright

Well-known member
Thanks for this great addon. There is an issue that amazon links to non product pages are also getting converted to a media embed.
E.g. https://www.amazon .co.uk/gp/help/customer/display.html?nodeId=201834890
Possible to not alter the link if it's not to a product?
 

Buffaloed

Member
Megaphone embed is no longer working. It only posts the link. It stopped briefly last night and resumed working and now it's not working again.

eg https://cms.megaphone.fm/channel/HOC4415651625

Code:
[MEDIA=megaphone]HOC4415651625[/MEDIA]
embed with 404 player


<iframe data-s9e-mediaembed="megaphone" allowfullscreen="" loading="lazy" scrolling="no" src="https://player.megaphone.fm/HOC4415651625" style="border:0;height:200px;max-width:900px;width:100%"></iframe>
 
Last edited:

Buffaloed

Member
Megaphone embed is no longer working. It only posts the link. It stopped briefly last night and resumed working and now it's not working again.

eg https://cms.megaphone.fm/channel/HOC4415651625

Code:
[MEDIA=megaphone]HOC4415651625[/MEDIA]
embed with 404 player


<iframe data-s9e-mediaembed="megaphone" allowfullscreen="" loading="lazy" scrolling="no" src="https://player.megaphone.fm/HOC4415651625" style="border:0;height:200px;max-width:900px;width:100%"></iframe>
I figured it out. We were using the podcast url and you have to include the episode. It was working with the podcast url and playing the latest episode up until now.

Code:
right
https://cms.megaphone.fm/channel/theotherconnor?selected=HOC3843469908
wrong
https://cms.megaphone.fm/channel/HOC7177359779
 
Last edited:

JoshyPHP

Well-known member
Yes, channel URLs aren't currently supported. If you see the link being displayed as anything more than text, it's probably XenForo's unfurling.

I'm considering adding support for replacing channel URLs with Megaphone's playlist player, but I don't know how useful it is. Maybe people would prefer linking to the actual page rather than embed its content.

By the way, this thread is for the XenForo 1 add-on. If you're using XenForo 2, the thread for the modern add-on is over there: https://xenforo.com/community/threads/s9e-media-sites.139274/
 

Buffaloed

Member
Is there a quick dirty way to make instagram reels work with the 1.5 version? I tried a simple replacement with Match URLs using the code from a XF 2.2 forum on a 1.5 forum but it didn't work.
 

JoshyPHP

Well-known member
I don't know. I don't have a working XF 1.5 board to test it but you can try your luck with this completely untested version, attached below.
 

Attachments

  • XenForoMediaBBCodes-20211123-dev.zip
    27.6 KB · Views: 1

Buffaloed

Member
I don't know. I don't have a working XF 1.5 board to test it but you can try your luck with this completely untested version, attached below.
Thanks I'll give it a try.
Edit; works perfectly. Been in use on a busy board without any issues.
 
Last edited:
Top