mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
YouTube Clip embeds not working #596
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AlexMedia on GitHub (Feb 26, 2023).
When using the media links extension, embedding YouTube clips from live streams does not seem to work.
Sample code:
For me, it gets rendered as a regular
<img>tag with itssrcset to the URL provided, rather than generating an iframe with the embed.@xoofx commented on GitHub (Feb 27, 2023):
You need to replace
clipbyembed:I had to look at the code, the "media link specs" doesn't mention this explicitly but the examples have
embedorwatch.