Embed:
- fixes as a result of documentation, fixed secondaryVideo - added muted option, changing tracks sets options.setTracks - no positive values for startunix when live seeking - dashjs tracks updated, videojs display tweaked - fixes for track selection and live seeking
This commit is contained in:
parent
0a1b00cb5e
commit
998d7c6d03
22 changed files with 283 additions and 119 deletions
|
@ -1,7 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
CHANGES="$(git diff --name-only --cached | grep lsp/)";
|
||||
readarray -t CHANGES <<<"$CHANGES";
|
||||
|
||||
elementIn () {
|
||||
local e match="$1";
|
||||
shift;
|
||||
for e; do [[ "$e" == "$match" ]] && return 0; done;
|
||||
return 1;
|
||||
}
|
||||
|
||||
echo "Minimizing LSP..";
|
||||
|
||||
if [ "minified.js" -ot "plugins/md5.js" ] || [ "minified.js" -ot "plugins/plugins/cattablesort.js" ] || [ "minified.js" -ot "mist.js" ]; then
|
||||
if elementIn "lsp/plugins/md5.js" "${CHANGES[@]}" || elementIn "lsp/plugins/cattablesort.js" "${CHANGES[@]}" || elementIn "lsp/mist.js" "${CHANGES[@]}" ; then
|
||||
echo " Generating minified.js.."
|
||||
java -jar closure-compiler.jar --warning_level QUIET plugins/md5.js plugins/cattablesort.js mist.js > minified.js
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue