player embeds mejs-controls.svg with document; patch mediaelement to use inlined iconSprite

This commit is contained in:
2024-11-12 02:50:31 +01:00
committed by Tilman Kranz
parent ef9a5b70d3
commit acd6a2f475
4 changed files with 130 additions and 17 deletions

View File

@ -1,11 +1,47 @@
.PHONY: all depend css src
.PHONY: \
all \
depend \
depend-mediaelement \
depend-mediaelement-plugins \
depend-node \
css \
src \
test
all: depend css src
all: \
depend \
css \
src
depend:
depend: \
depend-node \
depend-mediaelement \
depend-mediaelement-plugins
depend-mediaelement:
@echo "Preparing dependency \"mediaelement\" ..."
git -C mediaelement reset --hard HEAD
patch -d mediaelement -p1 < patches/mediaelement/01-iconsprite.diff
cd mediaelement && grunt
depend-mediaelement-plugins:
@echo "Preparing dependency \"mediaelement-plugins\" ..."
git -C mediaelement-plugins reset --hard HEAD
patch -d mediaelement-plugins -p1 < patches/mediaelement-plugins/01-playlist.js.diff
cd mediaelement-plugins && grunt
depend-node:
@echo "Installing required NodeJS dependencies ..."
npm install
css:
@echo "Building CSS ..."
css/build.sh
src:
@echo "Building Javascript ..."
src/build.sh
test:
@echo "Performing tests ..."
npm test