changeset 1336:71f24ad99a2c

pages (js): added `ogv` requirement
author Goffi <goffi@goffi.org>
date Sat, 15 Aug 2020 13:04:09 +0200
parents f2ce8072d89d
children f0648005cd11
files libervia/pages/_browser/browser_meta.json
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/pages/_browser/browser_meta.json	Sat Aug 15 13:03:13 2020 +0200
+++ b/libervia/pages/_browser/browser_meta.json	Sat Aug 15 13:04:09 2020 +0200
@@ -4,7 +4,8 @@
             "dependencies": {
                 "nunjucks": "latest",
                 "swiper": "^6.1.1",
-                "moment": "latest"
+                "moment": "latest",
+                "ogv": "latest"
             }
         },
         "brython_map": {
@@ -13,7 +14,12 @@
                 "path": "swiper/swiper-bundle.min.js",
                 "export": ["Swiper"]
             },
-            "moment": "moment/min/moment.min.js"
+            "moment": "moment/min/moment.min.js",
+            "ogv": {
+                "path": "ogv/dist/ogv.js",
+                "export": ["OGVCompat", "OGVLoader", "OGVMediaError", "OGVMediaType", "OGVTimeRanges", "OGVPlayer", "OGVVersion"],
+                "extra_init": "OGVLoader.base='/{build_dir}/node_modules/ogv/dist'"
+            }
         }
     }
 }