Fermain / -mollify

10 stars 9 forks source link

Iframe strategy #114

Open Fermain opened 1 year ago

Fermain commented 1 year ago

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.

pretzL commented 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?

Fermain commented 1 year ago

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)
Fermain commented 1 year ago
@[16:9](https://iframe.com)
Anclagen commented 1 year ago

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.

Christonn93 commented 1 year ago

I would like to get going on this one, is there a decisions made on the use of plugin ? If so, what plugin ?

Fermain commented 1 year ago

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.

StianSto commented 1 year ago

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}/>