Open Fermain opened 1 year ago
I've also noticed in several places VIMEO links are merely rendered as links, in some places the actual iframe video is rendered and in a few places both a link and an iframe is available. This should be standardized. Not sure if it's a change that needs to be done in the content itself or what, but perhaps there's a way to handle this in the markdown?
I've thought about this a fair bit and I lean towards a markdown plugin that takes a special syntax like
[normal link](google.com)
![image alt](google.com/logo.png)
@[iframe attributes](youtube.com/watch?id=abc)
@[16:9](https://iframe.com)
Yeah some of the videos work some didn't some intermittently worked. A plugin to do this would be nice, I would personally like the iframe video and a link to the source video where ever it was hosted.
I would like to get going on this one, is there a decisions made on the use of plugin ? If so, what plugin ?
This needs some major research, I'll take the easiest to implement and use option. I would start by looking into existing markdown plugins. I'm pretty good at writing them these days so maybe we can do it from scratch.
i think this has gotten a much simpler solution now that we can create custom svelte components to use in markdown documents, for example:
<Components.Iframe url={url.com}/>
Iframe styling needs to be improved as video embeds are a common feature. This may involve cleaning up the content as well as improving styles.