Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't embed video #159

Open
keithslater opened this issue Oct 31, 2020 · 1 comment
Open

Can't embed video #159

keithslater opened this issue Oct 31, 2020 · 1 comment

Comments

@keithslater
Copy link

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.

@taufik-nurrohman
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants