parsedown-extra icon indicating copy to clipboard operation
parsedown-extra copied to clipboard

Can't embed video

Open keithslater opened this issue 4 years ago • 1 comments

Trying to embed a youtube video but I can't seem to get it to work when using ParsedownExtra. When using the HTML (embed html from YouTube), I'm getting:

DOMDocument::loadHTML(): Empty string supplied as input

I've also tried embedding using markdown but that doesn't produce the video at all. I'm fine using HTML to do it if there's a way to get around the error above.

keithslater avatar Oct 31 '20 14:10 keithslater

Sometimes you need to strictly add two line break before and after the HTML block elements.

taufik-nurrohman avatar Nov 01 '20 00:11 taufik-nurrohman