Greasy Fork is available in English.

Discussions » Greasy Fork Feedback

Suggestion: Allow authors to add iframe or markdown videos from Youtube and similar video hosting websites

§
Posted: 27/02/2021
Edited: 27/02/2021

I really want to a add quick and short video introducing and showing a few things that 1 of my scripts can do, so that users can quickly decide if they will or not install the script, but now it seems that it's impossible to use the iframe in html, and the video markdown doesn't support YT videos.

Why greasyfork didn't implement such a basic and helpful feature yet?

§
Posted: 27/02/2021
Edited: 27/02/2021

Why greasyfork didn't implement such a basic and helpful feature yet?

The question with what markup to support is a question of what should be allowed and what the security concerns are. You start with disallowing everything, then pick safe things to allow.

It's easy to do, but no one has asked for it until now.

§
Posted: 27/02/2021

@JasonBarnabe

Yeah, I also thought that it was probably because of security and privacy concerns, but as you said I also thought it would be easy to implement the iframe or make the video markdown accept youtube videos, and I also thought that was probably easy to allow just a few trustable video hosting websites.

Thank you so much!

§
Posted: 28/02/2021

Iframe should also be added here now
https://greasyfork.org/en/help/allowed-markup

§
Posted: 28/02/2021
Iframe should also be added here now
https://greasyfork.org/en/help/allowed-markup

Done.

§
Posted: 03/03/2021

@JasonBarnabe

It's a useful feature, but could you support more video websites like bilibili.com? It's inconvenient to access youtube in China.
Here is an example of the iframe code for bilibili:
<iframe src="//player.bilibili.com/player.html?aid=501830870&bvid=BV1dN411X7ui&cid=301950920&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>

§
Posted: 04/03/2021

Implemented.

§
Posted: 04/03/2021

Implemented.

Thanks!

Post reply

Sign in to post a reply.