[Mod Portal] webm support

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
Post Reply
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 507
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

[Mod Portal] webm support

Post by Mylon »

I would like the ability to link to webm files in my mod portal description. I have a gif demonstrating the mod, but it's 7 MB in size! The webm is only 342 kB with an acceptable loss in quality.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 4863
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [Mod Portal] webm support

Post by eradicator »

Has this ever been implemented? And if yes how do i use it. I have a 10 second video clip that's <1MB as webm, and converting it to a much lower quality gif blows it up to 36MB...
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12026
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: [Mod Portal] webm support

Post by ssilk »

moved to mod-portal suggestions — ssilk

Why not linking to a video-portal?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 4863
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [Mod Portal] webm support

Post by eradicator »

ssilk wrote:
Sun Dec 13, 2020 10:22 am
Why not linking to a video-portal?
Because embedding a short 5-10 second silent "video" (aka "gif") allows the user to casually "happen" to see the information without having to conciously search for it. A large embedded (moving) picture has an entirely different informational effect than a tiny easy to miss link hidden in a wall of text. Also I prefer to keep my factorio content available via factorio services instead of relying on 3rd parties. Btw, the forum also already supports webm.

Ask yourself this: If I told you that I wanted "modern gif" support instead of using the technical term "webm", would you have asked the same question?
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Xorimuth
Filter Inserter
Filter Inserter
Posts: 276
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: [Mod Portal] webm support

Post by Xorimuth »

+1 for webm, mp4 or gifv support!
Gifs are orders of magnitudes larger with worse quality, so they take ages to load in. Even the devs in FFFs use mp4s now.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 4863
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [Mod Portal] webm support

Post by eradicator »

So, because this isn't supported I've now been forced to use a fake "video player" to trick the user into going to a seperate site that hosts the video. I really wish I wouldn't have to do shit like that. Simply allowing <video> tags would be sufficient. Eradicator's Screenshot Maker Deluxe 3.0.


Image
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2364
Joined: Fri Nov 06, 2015 7:41 pm

Re: [Mod Portal] webm support

Post by Deadlock989 »

There is no such thing as a "<video> tag" in Markdown. Markdown has poor support for media elements, by design. It was, and always will be, a plain text markup language.

You could deviate from the informal standard for Markdown and add one, but equally you could spend that time implementing something that isn't as ball-breaking as Markdown.
Last edited by Deadlock989 on Fri Apr 16, 2021 10:26 am, edited 1 time in total.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 4863
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [Mod Portal] webm support

Post by eradicator »

Deadlock989 wrote:
Fri Apr 16, 2021 8:40 am
There is no such thing as a "<video> tag" in Markdown.
According to The Internet™ some markdown implementations allow injecting HTML tags directly, which is what I was referring to.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2364
Joined: Fri Nov 06, 2015 7:41 pm

Re: [Mod Portal] webm support

Post by Deadlock989 »

eradicator wrote:
Fri Apr 16, 2021 8:59 am
According to The Internet™ some markdown implementations allow injecting HTML tags directly, which is what I was referring to.
Can we have <a>, <img>, <ul> and <li> as well then?

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 4863
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [Mod Portal] webm support

Post by eradicator »

Deadlock989 wrote:
Fri Apr 16, 2021 10:23 am
eradicator wrote:
Fri Apr 16, 2021 8:59 am
According to The Internet™ some markdown implementations allow injecting HTML tags directly, which is what I was referring to.
Can we have <a>, <img>, <ul> and <li> as well then?
I am not asking to allow every html tag, and unlike your constant complaints about how bad markdown is I'm not asking for "different methods to get the same thing done". I'm asking for something that is currently impossible to do. But you already know that, so I'm not sure why I even bother reacting to your obivous attempt to undermine my argument with an invalid generalization.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2364
Joined: Fri Nov 06, 2015 7:41 pm

Re: [Mod Portal] webm support

Post by Deadlock989 »

Try dialling that down by like 20%, sunshine.

Markdown barely even supports image formatting. I mean, it doesn't even have text alignment. You may as well complain that a bicycle without wheels doesn't have a jetpack installed.

I'd guess the chances of them turning on anything that remotely resembles "HTML injection" are as close to zero as make no odds.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 4863
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [Mod Portal] webm support

Post by eradicator »

Deadlock989 wrote:
Sat Apr 17, 2021 9:45 am
Try dialling that down by like 20%, sunshine.
Sure, you go first. "Sunshine".
Deadlock989 wrote:
Sat Apr 17, 2021 9:45 am
You may as well complain that a bicycle without wheels doesn't have a jetpack installed.
Not complaining at all, merely +1'ing a request thread so to speak. And posting workarounds for other people with the same problem.
Deadlock989 wrote:
Sat Apr 17, 2021 9:45 am
I'd guess the chances of them turning on anything that remotely resembles "HTML injection" are as close to zero as make no odds.
I don't really care about how it's done. The picture gallery bar, a new demo video tab, whatever. I would just really like to show and see mods in action on the portal using an actual video format instead of an ancient 256-color limited wannabe-video abomination.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Post Reply

Return to “Mod portal Discussion”