aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-06-19 12:47:36 +0000
committers-ol <s-ol@users.noreply.github.com>2020-06-19 12:47:36 +0000
commit6da454816819b55e8eeb2b10da3eb9fb371c9068 (patch)
tree1cd5f6ef76c7ca9c4aa634f0a085298e6e00038d
parentfix games/IYNX (diff)
downloadmmm-6da454816819b55e8eeb2b10da3eb9fb371c9068.tar.gz
mmm-6da454816819b55e8eeb2b10da3eb9fb371c9068.zip
video/*+gif support
-rw-r--r--mmm/mmmfs/plugins/init.moon7
1 files changed, 7 insertions, 0 deletions
diff --git a/mmm/mmmfs/plugins/init.moon b/mmm/mmmfs/plugins/init.moon
index acf96e3..5c6feb6 100644
--- a/mmm/mmmfs/plugins/init.moon
+++ b/mmm/mmmfs/plugins/init.moon
@@ -194,6 +194,13 @@ converts = {
transform: (src, fileder) => img :src
}
{
+ inp: 'URL -> video/.+%+gif',
+ out: 'mmm/dom',
+ cost: 0.99
+ transform: (src) =>
+ video (source :src), controls: 'auto', loop: true, autoplay: true, muted: true
+ }
+ {
inp: 'URL -> video/.+',
out: 'mmm/dom',
cost: 1