diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/pico-cam/favicon.ico | bin | 0 -> 6825 bytes | |||
-rw-r--r-- | js/pico-cam/index.html | 7 | ||||
-rw-r--r-- | js/pico-cam/pico-cam.js (renamed from js/pico-cam/video.js) | 0 | ||||
-rw-r--r-- | js/pico-cam/service-worker.js | 2 |
4 files changed, 7 insertions, 2 deletions
diff --git a/js/pico-cam/favicon.ico b/js/pico-cam/favicon.ico new file mode 100644 index 0000000..1783361 --- /dev/null +++ b/js/pico-cam/favicon.ico Binary files differdiff --git a/js/pico-cam/index.html b/js/pico-cam/index.html index 7b8798a..c12f4da 100644 --- a/js/pico-cam/index.html +++ b/js/pico-cam/index.html @@ -4,6 +4,11 @@ <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Pico Cam</title> + <!-- add favicon --> + <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> + <link rel="icon" href="favicon.ico" type="image/x-icon"> + <meta name="theme-color" content="#EEE1C6"> + <meta name="description" content="For those times when you need a Gameboy camera but only have a phone."> <style> body { background-color: beige; @@ -77,7 +82,7 @@ <video id="webcam" autoplay playsinline style="display:none;"></video> <canvas id="ditheredOutput"></canvas> </div> - <script src="video.js"></script> + <script src="pico-cam.js"></script> <script> // Check if Service Workers are supported if ('serviceWorker' in navigator) { diff --git a/js/pico-cam/video.js b/js/pico-cam/pico-cam.js index f51179e..f51179e 100644 --- a/js/pico-cam/video.js +++ b/js/pico-cam/pico-cam.js diff --git a/js/pico-cam/service-worker.js b/js/pico-cam/service-worker.js index 75027ed..a564fad 100644 --- a/js/pico-cam/service-worker.js +++ b/js/pico-cam/service-worker.js @@ -2,7 +2,7 @@ var CACHE_NAME = 'pico-cam-v1'; var urlsToCache = [ '/', '/index.html', - '/video.js' + '/pico-cam.js' ]; self.addEventListener('install', function(event) { |