From 0ec1d0dafc5b786333409461c158509b39cf940f Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Thu, 1 Feb 2024 19:10:41 +0000 Subject: [PATCH] video & uvscroll now listen to media fragments --- make | 4 +- src/3rd/js/index.js | 2 +- src/3rd/js/pubsub.js | 2 +- src/3rd/js/three/hashbus.js | 8 +- src/3rd/js/three/navigator.js | 6 +- src/3rd/js/three/xrf/dynamic/mediafragment.js | 37 ++++++++ src/3rd/js/three/xrf/dynamic/uvscroll.js | 29 ------- src/3rd/js/three/xrf/src/video.js | 25 +++--- src/xrfragment/Parser.hx | 1 + src/xrfragment/XRF.hx | 1 + test/generated/test.js | 74 ++++++++++++---- test/generated/test.py | 87 ++++++++++++++----- 12 files changed, 180 insertions(+), 96 deletions(-) create mode 100644 src/3rd/js/three/xrf/dynamic/mediafragment.js delete mode 100644 src/3rd/js/three/xrf/dynamic/uvscroll.js diff --git a/make b/make index 58a8021..5c60de8 100755 --- a/make +++ b/make @@ -53,7 +53,7 @@ server(){ build(){ parser(){ - try rm dist/* + try rm dist/xrfragment.* haxe build.hxml || exit 1 sed -i 's|.*nonlocal .*||g' dist/xrfragment.py ls -lah dist/* @@ -152,7 +152,7 @@ repos(){ sed -i 's|