s9e Media BBCodes pack

s9e Media BBCodes pack 20231102

No permission to download
@JoshyPHP RollingStone is a popular news source on our private XF forum in the News and Politics section.

Sorry, I just assumed such a prominent publication would be a popular embed code. I don't have any real-world examples of people using it.

If it's not popular enough to add that's understandable.

Cheers.
 
Their articles are popular but I don't think their video service is well known. Even the videos presented in their articles appear to be hosted on YouTube.
 
Their articles are popular but I don't think their video service is well known. Even the videos presented in their articles appear to be hosted on YouTube.
Articles are mostly what I'm referring to. For example, this is the most recent article posted:

http://www.rollingstone.com/culture...-chapo-case-shot-and-killed-in-mexico-w445571

However, it doesn't include the video in the original RS article, obviously. While perhaps a small gripe, it ****s me for some reason.
 
Can you please add hearthis.at to your next update? It is an excellent mixcloud type service that a lot of DJs are using now.
 
Can you please add hearthis.at to your next update? It is an excellent mixcloud type service that a lot of DJs are using now.

If you post an example of the kind of links that would be supported, I'll look into it.

any chance to add jamendo very popular mixcloud https://www.jamendo.com/start

Same thing.

can you take a look at spotify playlist embedding? doesn't seem to be working well. thanks

I'd need the URL you tried and a short description of what doesn't work. I see that some playlist don't display the cover art for some reason but the rest works as expected.
 
@JoshyPHP

I'm seeing a lot of variety in Facebook video aspect ratios, not just the bog-standard 56.25%.

Thus padding-bottom is regularly cutting off the video heights.

My skills are not good enough to hack in a detect height and dynamically insert the correct padding value like you appear to be doing for Facebook cards where there is not type=video.

Example issues here;
http://forums.ski.com.au/xf/threads/facebook-videos.76626/

Also, FYI
I manually change youtube domain from youtube.com to youtube-nocookie.com for privacy nonsense (plus why not!). You may wish to consider if you make that standard hardcoded in - or an option in setup.

(P.S. Have donated a couple of months ago)
 
Last edited:
Would it be possible to have http://webm.land added to this addon? My users use this site alot.

That or would it be possible to auto embed any webm's from any site?

Thanks for the work on this addon, keep it up :)
 
@JoshyPHP

I'm seeing a lot of variety in Facebook video aspect ratios, not just the bog-standard 56.25%.

Thus padding-bottom is regularly cutting off the video heights.

Hmm, I feel like the Facebook player used to add black bars rather than cut off the video. I'm going to have to think about it.

About YouTube, you can add a custom callback if you follow these instructions. Something like that should work:
Code:
<?php
class s9e_Custom
{
    public static function youtube($html, array $vars)
    {
        return str_replace('youtube.com', 'youtube-nocookie.com', $html);
    }
}

Thanks for your previous contribution, all donations are greatly appreciated.


Would it be possible to have http://webm.land added to this addon? My users use this site alot.

That or would it be possible to auto embed any webm's from any site?

webm.land doesn't seem too reliable at the moment so I'm going to have to decline for the time being. I recommend that you create a custom BBCode for .webm files.
 
  • Like
Reactions: W.D
Updated to the latest version and I get this with any Facebook Video Link... (shown in the thread).
Code:
[MEDIA=facebook]id=1780645895542881;type=video[/MEDIA]

FacebookVideo.webp
 
Quick question! I uninstalled this addon but it left the sites listed when you click the media button, any ideas how to remove that?

H6dSE8F.png
 
Quick question! I uninstalled this addon but it left the sites listed when you click the media button, any ideas how to remove that?

Not really. Normally it's removed by XenForo automatically. You can try reinstalling and uninstalling again. Otherwise you can remove them via SQL if you're familiar with it but you shouldn't have to do that.
Code:
DELETE FROM xf_bb_code_media_site WHERE addon_id = 's9e'


It's been mentioned once before but I don't see a lot of link sharing from that site so I'm not sure it's worth the time spent on development/maintenance. There's a definition for it in the resource section that may work for you. If this site is important for your forums I can offer you to sponsor its addition. You can send me a pm if you want me to look into it.
 
Last edited:
Top Bottom