s9e Media BBCodes pack

s9e Media BBCodes pack 20231102

No permission to download
@JoshyPHP first, you are awesome. Here and at Flarum. I wanted to ask if Blab.im is able to be brought in? They are beta but traction is swinging fast for the platform. We do lots of links with them and it would be a nice addition.
 
@JoshyPHP I'm having an issue where <xen:if is="@bbCodeQuoteMaxHeight"> is being expanded out to: <xen:if is="{xen:property bbCodeQuoteMaxHeight}">, which causes the template modification to fail to apply.

More info added to https://github.com/s9e/XenForoMediaBBCodes/pull/6
Re your message on GitHub:
Xon said:
Fair enough. I think part of it is people are expecting a tumbler/imgur image embed to behave like a normal image and when it gets cut-off due to the iframe max-size thing some people have complained.

Normally images get resized rather than truncated, but this doesn't get pushed into the iframe, and the bbcode media embeds lack the onclick handler which allows the full content to be viewed when the quote cutting off content.

I'll create a custom template modification for my theme to address this.

Would it be trivial to apply this modification of yours to other themes as well if @JoshyPHP won't implement it due to being standard XF feature (if I understood correctly that part)?

I would like it to work like you explained above. It's annoying when the bbcode doesn't allow the full content to be viewed.

Thanks!
 
Not sure if it has anything to do with the newest upgrade which I just did and noticed this in the media gallery for instagram videos.

You need a special class to create the thumbnail. The video is cut off because the size of Instagram video is set dynamically. I don't think it's possible to make it fit the exact height. Instagram's embed code sets the video size to fit the full width and sets the height according to the video's ratio.

nice plugin love it! pls add challonge and google maps

Google Maps is not technically possible. Challonge is too niche to be included. A number of other add-ons mention supporting Challonge, maybe one of them will work for you.

@JoshyPHP first, you are awesome. Here and at Flarum. I wanted to ask if Blab.im is able to be brought in? They are beta but traction is swinging fast for the platform. We do lots of links with them and it would be a nice addition.

I'll look into it as soon as I can.

I would like it to work like you explained above. It's annoying when the bbcode doesn't allow the full content to be viewed.

Expanded quotes should display the whole text/embeds, don't they?
 
somehow facebook videos do not work even with the newest download of today. Here is the link t the video so you can check yourself:

Code:
https://www.facebook.com/FujifilmCamerasAustralia/videos/688086844627834/
 
It works for me. It should create an iframe that points to this page. Check out your browser's error console/developer tools, there may be an error message there.

Thanks. I found now the reason. I use firefox as browser and have there a plugin called "disconnect". This plugin stops sites that try to track my browserhistory (https://disconnect.me/disconnect/help). I allowed facebook and now I see the video embedded in my forum.

Thanks
 
@JoshyPHP

I am trying to display google sheets url on my forum. It seems to work with desktop chrome, but shows nothing when using Firefox, and shows only portion of the page when using smart phone chrome app. Please advise.

I'm using version 20150925.
 
Just installed and donated :)
My site is full HTTPS and Imgur doesn't seem to work although imgur can be accessed via https. How can I fix the sites that don't play well with HTTPS and is there a list of sites I should exclude from this addon for that reason?

Thanks
 
Just installed and donated :)

Awesome, thanks!

My site is full HTTPS and Imgur doesn't seem to work although imgur can be accessed via https. How can I fix the sites that don't play well with HTTPS and is there a list of sites I should exclude from this addon for that reason?

I'm 95% sure that Imgur should work on your HTTPS site. Can you link me to a page on your site that displays (or in this case, fails to display) an Imgur embed? What browsers did you try? Does Twitter work on the same browser where Imgur fails? Check out your browser's console, there may be JavaScript errors on the page.

There are relatively few sites that don't work via HTTPS. Unless an HTTP-only site is particularily popular on your forum and the autoembedding causes issues, I wouldn't recommend disabling them. I periodically review HTTP-only sites and update their definition to support HTTPS as soon as their servers support it. The following are hardcoded to use HTTP but there may also be a couple more sites that use a schemeless URL without actually supporting HTTPS.

Code:
cnn, cnnmoney, dumpert, funnyordie, globalnews, humortvnl, ign, liveleak, mailru, nytimes, strawpoll, theatlantic, theonion, tinypic, vbox7, vevo, videomega, youku
 
Last edited:
@melbo The Imgur link is not embedded because only links to Imgur pages are automatically embedded. If you want to display the image alone I recommend using the IMG tag in the editor. Otherwise, use the page link, e.g. http://imgur.com/LUsnqcs

The Reddit link doesn't work for two reasons. First because links are not parsed inside of code blocks but most importantly because Reddit only allows embedding individual comments, not whole threads. They don't support embedding the original post either, only comments/replies.
 
Back
Top Bottom