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- a simple reminder - o/t - cypresstx, 8/28/2023, 5:19 pm
- TS Idalia - 4:00 PM CDT Mon Aug 28 - Idalia Nearing Hurricane Strength - cypresstx, 8/28/2023, 5:01 pm
- Mandatory evacuation just issued for Hillsborough County Zone A - Chris in Tampa, 8/28/2023, 2:20 pm
- still TS Idalia - 1:00 PM CDT Mon Aug 28 - Strengthening as it Nears Western Tip of Cuba - cypresstx, 8/28/2023, 2:09 pm
- TS Idalia - 10:00 AM CDT Mon Aug 28 - Surge & Hurricane Warnings Issued for FL West Coast - cypresstx, 8/28/2023, 11:26 am
- Re: TS Idalia - 7:00 AM CDT Mon Aug 28 - Life Threatenibg Surge & Winds Increasingly Likely for Florida - cypresstx, 8/28/2023, 8:10 am
- TS Idalia - 1000 PM CDT Sun Aug 27 2023 - Idalia Strengthening Quickly - cypresstx, 8/27/2023, 11:56 pm
- Tweet from local meteorologist Jeff Berardelli of IBM GRAF model - Chris in Tampa, 8/27/2023, 10:56 pm
- TS Idalia - 1:00 PM CDT Sun Aug 27 - likely to wander thru tonight move faster north on Monday - cypresstx, 8/27/2023, 2:17 pm
Post A Reply