s9e Media BBCodes pack

s9e Media BBCodes pack 20231102

No permission to download
Not sure how many Indian forums are using your plugin. NDTV is one of our major news channels.

Example URL:
Code:
http://www.ndtv.com/video/player/truth-vs-hype/truth-vs-hype-dadri-cattle-vigilantes-and-political-patronage/386396

Embed Code:
Code:
<iframe src='http://www.ndtv.com/video/embed-player/?site=classic&id=386396&autoplay=0&pWidth=418&pHeight=385&category=embed' width='418'  height='385' frameborder='0' scrolling='no' ></iframe>
 
I didn't mean to suggest that the add-on should ignore static images. The add-on can still automate embedding them, but at least in the case of Imgur, it makes more sense to minimize resource usage (by avoiding iframes and javascript) and simply add the img BBcode around static links.

Actually I never meant for the Imgur media site to replace links to static images in the first place, it's more of a side-effect. I'd prefer that users use the IMG BBCode for that.

Add ImgBox Thanks you

It's the same thing, it's preferable to use the IMG BBCode for that. Or do they host videos too? I'm not familiar with Imgbox.

Not sure how many Indian forums are using your plugin. NDTV is one of our major news channels.

According to Alexa the site is quite popular worldwide but a cursory search on Reddit shows that links to videos are rarely shared. I can post the media site definition if you want to add it to your forums.
 
Actually I never meant for the Imgur media site to replace links to static images in the first place, it's more of a side-effect. I'd prefer that users use the IMG BBCode for that.

What I'm suggesting is that s9e should detect a static Imgr URL and add BBCode img tags to it. That way everybody wins: users can save themselves the extra work and performance doesn't suffer because no javascript or iframes are used.
 
Would it be possible to add Deviant Art to the list of supported sites?

As it turns out, no you can't. DeviantArt provides an embeddable object, but it's not the original Flash content. It's just a small static thumbnail in a huge gray frame. It looks nothing like the original art and I assume people will prefer linking to the page rather than display that. So this one doesn't look possible, sorry.

What I'm suggesting is that s9e should detect a static Imgr URL and add BBCode img tags to it. That way everybody wins: users can save themselves the extra work and performance doesn't suffer because no javascript or iframes are used.

That's a good idea but that would another add-on completely. Adding BBCodes doesn't fit in the workflow of a media sites-based add-on.

Integrate images Gallery for example : http://imgbox.com/g/4vNHmMGnJp include all imgs in thread

Videos Upload is here : https://sendvid.com/ example : https://sendvid.com/zdd62rwd

Imgbox doesn't seem to provide embeddable galleries. Also, while I looked around and clicked on their share button I got assaulted by a couple of less-than-savoury popups, so it would feel like a disservice to the users to include that site.

I will consider SendVid in the future. Right now, they're still below the top 10,000 websites according to Alexa. They are steadily gaining users though, so I'll keep an eye on it.
 
I still see blank posts on my forum for attempted FB video embeds.

Say, if I post a link like this:

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

I'll get an empty post as s9e converts it to:

Code:
[MEDIA=facebook]414420868753358[/MEDIA]

Can anything be done about this? Or should I just disable embedding of FB resources so that regular link is shown for FB resources?
 
Can anything be done about this?

I don't know. What's your exact browser, have you tried with a new profile with new no extensions enabled, do you see any errors in your browser's console and does the default embed work for you?
 
Last edited:
I don't know. What's your exact browser, have you tried with a new profile with new extensions enabled, do you see any errors in your browser's console and does the default embed work for you?
Good point. There were no console errors (in the latest Chrome), but it works in the latest Opera. Perhaps some extension in my Chrome setup is interfering. I'll investigate, and if it's something generic, i.e. not "user error", I'll repot back. Thanks!
 
Try with a new profile without any extension enabled. You may have an extension that blocks Facebook scripts. Maybe something like Ghostery I guess.
 
That's a good idea but that would another add-on completely. Adding BBCodes doesn't fit in the workflow of a media sites-based add-on.

True, but the add-on was already doing that by accident in the previous version, and it worked great. To be safe, you could enable this only for static Imgur links and not just any .png or .jpg link.
 
The culprit was Disconnect.

Good to know. For what it's worth and as far as privacy is concerned, the Facebook embeds are hosted in a third-party iframe. Facebook scripts shouldn't be able to access the original page.

True, but the add-on was already doing that by accident in the previous version, and it worked great. To be safe, you could enable this only for static Imgur links and not just any .png or .jpg link.

I don't know, that was never my intention to display images via this add-on. I've had people argue in favor of preserving links to plain images and I tend to agree. If you want to transform static Imgur link for yourself, try adding a specialized media site for it, I think it should work.

Code:
Media Site ID: imgurstatic
   Site Title: Imgur static
   Match URLs: (/i\.imgur\.com/(?'id'\w+\.(?:gif|jpg|png)))
   Embed HTML: <img src="//i.imgur.com/{$id}">
               ☑ Use 'Match URLs' as PCRE regular expressions
 
Just installed the new version, and the scrolling still halts when you come across Reddit and Imgur embeds on iOS chrome. @JoshyPHP You don't have an iDevice to test this?
 
@JackieChun I don't. Have you tried using the default XenForo theme? I see that your style executes some JavaScript everytime the page is scrolled. This may be related.
 
Tested with the default XenForo theme, no slowdown. This kind of sucks, because that means all forums running UI.X themes are affected, and it's the most popular third-party style framework (4 of my forums run on UI.X-based themes).
 
Back
Top Bottom