s9e Media BBCodes pack

s9e Media BBCodes pack 20231102

No permission to download
Hello, would you be willing to add deviantart as a media site?

They have an oembed api here (https://www.deviantart.com/developers/oembed), but I don't quite know how to use it. I've got it working in posts, but not in the media gallery where we actually want it.

The urls that would be used to embed are:

https://*.deviantart.com/art/*
http://fav.me/*
https://sta.sh/*
https://*.deviantart.com/*#/d*

for example,

& the desired behaviour would be to just embed the image, particularly in the media gallery.

Looking through the thread, a few years ago you said no due to flash media not embedding and it instead displaying as a thumbnail - honestly this is not a problem if that's still how deviantart behaves, the ability to embed deviations into the media gallery is incredibly useful regardless as to whether or not people need to click through for the rare non-static content.
 
I don't use oEmbed in this add-on for technical reasons and as I recall, DeviantArt doesn't have a dedicated embeddable page. That's why I don't intend to add DeviantArt to this add-on but XenForo 2.x does support oEmbed and you should be able to create a media site for it in your forums. I don't know how it plays out with XenForo Media Gallery though. If you ask about it in XFMG's support forums someone should be able to tell you.
 
For those still using 1.5, is this add-on required to embed FB posts in thread posts? I thought it was possible just with XF core, but it doesn't look like it.
 
The only factor that could be related to the add-on would be lazy-loading. If that's part of the problem, disabling it in the add-on's options will fix it.

If that's the case, it's possible that an external script (e.g. an ad network's) interferes with the add-on's JavaScript.
 
I keep reading people saying they use this add-on to embed google sheets. Can someone help me with how that's done? I need to embed a google spreadsheet into specific posts.
 
The Athletic doesn't appear to offer a way to embed their content. The best you can get is the short snippet that XenForo 2 automatically generates when posting a link.
 
I'm not seeing any issues with Streamable. What was the original URL for the link, what BBCode did XenForo generate and is there a public forum page where I can see a video that's shown as unavailable?
 
I'm not seeing any issues with Streamable. What was the original URL for the link, what BBCode did XenForo generate and is there a public forum page where I can see a video that's shown as unavailable?

Here's an example - https://streamable.com/c1mm7

This is what is being generated in the html -

<span data-s9e-mediaembed="streamable" style="display:inline-block;width:100%;max-width:640px"><span style="display:block;overflow:hidden;position:relative;padding-bottom:56.25%"><iframe allowfullscreen="" scrolling="no" src="//streamable.com/e/c1mm7" style="border:0;height:100%;left:0;position:absolute;width:100%"></iframe></span></span>

And this is what I see in a post -

setQTkC.jpg

Sorry, we haven't got a page that's viewable without an account.
 
It all works fine for me and if you just go to the URL directly you may be able to watch that video, unless Streamable have blacklisted your IP for some reason. Another possibility would be a browser issue or something of that sort.
 
I'm not sure about that one. Images can already be displayed with the IMG BBCode, so it's only useful for videos right? I could embed those in a fixed-size player like YouTube et al. To have a player of the same size as the videos, it would require a custom iframe solution that I would have to host. There's a third way to embed stuff using their JavaScript thing, but that wouldn't work for me without more custom code on my side. At this point it seems more work than it's worth, sorry. I would reconsider if they provided the dimension of the media. [Edit: as it turns out, they have an API for that. I'll take a second look at it later.]


The way media embeds work in XenForo (and other systems) means you don't target a specific player, you must target a specific site. Or rather, URLs. And those URLs should point to videos. In the case of the URL you have posted, it points to an article rather than a video. The difference may be subtle, but it has a number of implications. Either way, as I type this and my mind wanders about the technical aspects I realize that this site's audience is much too small to be included in this pack. Each new site adds a small cost in terms of maintenance and, in XenForo's case, a slight performance penalty that gets passed to every user.

If what you're looking for a way to embed videos from this Warriors site, I might still be able to help you by posting the media site definition. Please confirm that's the videos you're trying to embed and I'll see what I can do. Actually you can't make a simple media site for it because XenForo rejects or encodes some of the characters that are needed. Namely, it rejects & and encodes =. Sorry.

In light of XF2.1 and Ooyala possibly making themselves more open (Embedding Player V4 on a Web Page ), has anything changed (enough) to make Ooyala viable for inclusion now?

Regards, Groatz
 
Last edited:
Ooyala is mainly a content distributor, it doesn't fit well with the way media sites work. If you want to embed videos from a specific site, you can create a media site for it or use a custom Iframe BBCode.
 
Top Bottom