The img tag should work, but the HTML parser might be eating it if it's improperly formatted or broken. One thing to check is that the quote marks must be straight quotes "" and not curly quotes ("smart" quote marks).
If that doesn't help and you're still experiencing issues, can you contact us using the Support form with more details? The form's parser will eat any example html, but if you avoid including the < and > symbols, everything else should come through.
You would need the full embed code from the hosting site listed in the iframe: most sites make this easily available in a Share button or similar. The video does have to be hosted at one of the "whitelisted" (permitted) sites listed at the multimedia post; if it's not, the HTML sanitizer will strip out the code. If you have any questions about a specific site, please contact Support!
For YouTube, you'll want to browse to the video's page, click on the Share button, click on Embed, and copy everything in the box that appears, not just the URL. If you have any questions, let us know!
Comment on Tutorial: HTML Sanitizing and Parsing
TheAnderfelsOne Sat 30 May 2015 02:08PM UTC
Last Edited Sat 30 May 2015 02:08PM UTC
Comment Actions
AO3_Support (Official) Tue 23 Jun 2015 12:44PM UTC
Comment Actions
TheAnderfelsOne Tue 23 Jun 2015 06:48PM UTC
Comment Actions
AO3_Support (Official) Tue 23 Jun 2015 10:03PM UTC
Comment Actions
TheAnderfelsOne Fri 26 Jun 2015 04:46PM UTC
Comment Actions
Sam of Support (AO3_Support) (Official) Wed 01 Jul 2015 12:39AM UTC
Comment Actions
TheAnderfelsOne Sun 05 Jul 2015 11:21PM UTC
Comment Actions
Sam of Support (AO3_Support) (Official) Mon 06 Jul 2015 12:13PM UTC
Comment Actions