I tried embedding a Firefox video as an i-frame in one of my posts on my Hugo site, and it displayed the video, but gave me an error that I don’t remember. It was a playback error.
Yesterday, I also tried to embed a Reddit comment, which also gave me a HTML line, which once again, after placing in my post, didn’t give me anything at all.
I know Twitter does the same thing with tweets.
Is there a way I can embed these one-liners of HTML that so many sites allow you access to?
Well, when I paste that into a post, for most embeds it gives me no visual change, and for YouTube videos it gives me an i-frame with a playback error.
For a lot of what you are asking, such as html embeds, I would recommend you use shortcodes. They already have builtin internal ones for common things like youtube, twitter, vimeo… and you can easily add your own to your theme as well.