I guess I removed the ability to embed code using embed code from YouTube - O/T
Posted by Chris in Tampa on 8/27/2023, 10:54 pm
As well as using embed code generated on other sites. I forgot I did that. All you have to do is add a link and the system will default to embedding it in the post. (To not have it embed something, and force a link only, uncheck "Display social media content from links")

Anytime YouTube, Twitter, Facebook, Instagram, Threads or Imgur changed a single character in their embed code, mine would fail. For security, I needed to know every single character being inputted. But I don't have to actually use the embed code and require it to match specifically. (the system is not designed that way now) I could just extract the link and make sure that it is in a format the system understands, discarding everything else, and then treat it as if someone just entered a link. (and then if it didn't understand it, it would just treat it as text that should be displayed) Maybe in the future sometime I'll add that back. It wouldn't be hard.

A year or two ago I updated the code that allows HTML, greatly expanding what I allow, and I guess I forgot to add that part back. I can't recall.
1
In this thread:
TS Idalia - - cypresstx, 8/27/2023, 11:27 am
Post A Reply
More HTML
Add Image (Tutorial)
Embed Video or other Social Media
This feature works for YouTube (videos), Twitter (tweets), Facebook (posts, photos and videos), Instagram (posts and videos), Threads (posts), Imgur (images and videos) and NHC Audio Briefings (mp3 files). In our testing, you can't post an Instagram and Threads post in the same message. The Threads message will not load.

Twitter Options:
Add Emoji
 Smile
 Happy
 Cool
 Grin
 Tongue
 Surprised
 Sleepy
 Drool
 Confused
 Mad
 Sad
 Cry
Automatic Options