Commit 649a47d2 authored by dronus's avatar dronus
Browse files

adjustments and run.sh for live setup

parent 2b470ee1
......@@ -16,9 +16,9 @@
position: relative;
}
#video{display:none; position:absolute; top: 0px; left: 0px;}
#mirror{position:absolute; top:0px; bottom: 0px; left: 0px;}
#mirror{position:absolute; top:0px; bottom: 0px; right: 0px; border: 1px solid pink; }
#photo{display:none; position:absolute; bottom: 0px; right: 0px;}
#slides{position:absolute; top: 0px; bottom:0px; right: 0px;}
#slides{position:absolute; top: 0px; bottom:0px; left: 0px; transform: rotate(-90deg); border: 1px solid green;}
</style>
<video id=video></video>
......@@ -182,7 +182,7 @@
var sourceBuffer=source.addSourceBuffer("video/webm;codecs=vp8");
var recorder=new MediaRecorder(stream);
recorder.ondataavailable=function(e){
e.data.arrayBuffer().then(function(buf){
new Response(e.data).arrayBuffer().then(function(buf){
sourceBuffer.appendBuffer(buf);
});
}
......
#!/bin/sh
cd `dirname "$0"`
python -m SimpleHTTPServer &
# hide mousepointer
export DISPLAY=:0
sleep 5
#xrandr --output HDMI-0 --right-of DP-0 --rotate left
#sleep 5
# disable screen saver
xset s off
xset -dpms
chromium-browser --disable-infobars --incognito --use-fake-ui-for-media-stream --user-data-dir=chromium_tmp --disable-gpu-sandbox http://127.0.0.1:8000/index.html &
sleep 5
xdotool getactivewindow windowmove 0 -100 windowsize 2390 1566
xdotool getactivewindow windowmove 0 -100 windowsize 2390 1566
xdotool mousemove 1920 1080
fg
#!/bin/sh
cd `dirname "$0"`
# hide mousepointer
DISPLAY=:0 xdotool mousemove 1920 1080
# disable screen saver
DISPLAY=:0 xset s off
DISPLAY=:0 xset -dpms
# DISPLAY=:0 chromium-browser --kiosk --incognito --use-pulseaudio --use-fake-ui-for-media-stream --touch-events --disable-pinch --overscroll-history-navigation=0 --load-extension=ohnoyoudidnt http://127.0.0.1:8082/index.html
DISPLAY=:0 chromium-browser --incognito --use-pulseaudio --use-fake-ui-for-media-stream --touch-events --disable-pinch --overscroll-history-navigation=0 --load-extension=ohnoyoudidnt --js-flags="--expose-gc" --user-data-dir=chromium_tmp http://127.0.0.1:8082/index.html
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment