XF 2.2 Help with custom media embed BBCode

Match URLs:
HTML:
https://myvideowebsite.com/{$id}/videofile.mp4

Embed template:
HTML:
<iframe src="https://myvideowebsite.com/video/embed/{$id}/640x320/videofile.mp4" frameborder="0" scrolling="no" style="width: 640px; height: 320px; overflow: hidden;" allowfullscreen></iframe>
 
Could someone help me with a custom BBcode Media site for Truth Social?
I am still using v 1.5.22

My results: "truthsocial.com refused to connect."
Capturets1.webp

BBcode attempt:

Capturets2.webp
From above:
<iframe class="responsive-iframe" src=https://truthsocial.com/*/{$id}/embed style="max-width: 100%; border: 0" width="600" allowfullscreen="allowfullscreen"></iframe>


Embed Code provided by Truth Social:
<iframe src="https://truthsocial.com/@realDonaldTrump/109235838716895436/embed" class="truthsocial-embed" style="max-width: 100%; border: 0" width="600" allowfullscreen="allowfullscreen"></iframe><script src="https://truthsocial.com/embed.js" async="async"></script>


This url googled: https://truthsocial.com/embed/109235838716895436
Results in this:


capturets3.webp

Assistance would be appreciated.
 
I feel honored that this "site" blocks me (maybe because I am form Europe) :)

Anyhow, try this:

Site URL: https://truthsocial.com/

Match URLs: https://truthsocial.com/*/{$id}

Embed HTML:
HTML:
<iframe src="https://truthsocial.com/embed/{$id}" class="truthsocial-embed" style="max-width: 100%; border: 0" width="600" allowfullscreen="allowfullscreen"></iframe><script src="https://truthsocial.com/embed.js" async="async"></script>
 
I am located in USA and have been with my server host for 7 years without other problems.
Most of the time my server is located in US although the company headquarters may be in Cyprus.
My other bbcode media sites work fine for posting the same type content into threads including Telegram which is not US.

When I move my cursor over the broken link the text just reads: truthsocial.com refused to connect. I see no other error message.

There was no server error.

I did have many lengthy error messages and server errors when working with the bbcode, but finally got it to at attempt to connect.

capture.jpg
 
Last edited:
I had this exact problem creating a custom Rumble bbcode site and it was ultimately just some small problem.
I have been fiddling with this for days now...
 
Top Bottom