--- a/README.md Sun Nov 12 22:07:33 2017 +0100
+++ b/README.md Wed Sep 04 17:32:50 2024 +0200
@@ -7,27 +7,29 @@
o Reads from Youtube, Dailymotion and Flash backends
o Loads the data as JSON as well as JSONP
-
-Requirements
+Prerequisite
============
-- jQuery 1.4
-- jQuery UI 1.4
-- the java jre (for building the sources)
+- node + npm
+- `$ npm install`
Building the library
====================
-The library files are scattered in many files. An ant build script has been made to make the developer and
-minified versions of the player. It is located in sbin/build/client.xml.
-To build the library, simply run sbin/build/compil.bat if you are running windows, or sbin/build/compil.sh
-if you're running Unix.
+The library files are scattered in many files.
+It is built with vite.
+- `$ npm run build`
+
+The result of the build is in the dist/ folder.
Running the examples
====================
-You'll have to have a web server configured to serve the metadataplayer directory, because
-of the flash cross-domain policy.
+- `npm dev`
+
+or for building the dist:
+- `vite build -w` + `python -m http.server 5173`
+
The code
========
@@ -35,3 +37,5 @@
The code is scattered among several files, which are concatenated and minified during the
build process. The html templates in the templates/ directory are also "jsified" during
this process, to be used by the js code.
+
+**TODO:** finish the migration of the examples and widgets. Replace the JwPlayer widget with an open source js video player that can play youtube and wimeo videos. Adapt the AdaptivePlayer accordingly.