From 8dda86d0cbe614413101cec6ed5cc24953e24fac Mon Sep 17 00:00:00 2001
From: chiqden <50296321+chiqden@users.noreply.github.com>
Date: Sat, 11 May 2019 16:03:44 +0900
Subject: [PATCH] v1.0.0
---
README.md | 26 +-
index.html | 31 +
scripts/180-stereo-photo-viewer.js | 259 ++++
...s-v2.3.0-added-support-for-extended-xmp.js | 1110 +++++++++++++++++
scripts/offline-support.js | 10 +
service-worker.js | 46 +
6 files changed, 1481 insertions(+), 1 deletion(-)
create mode 100644 index.html
create mode 100644 scripts/180-stereo-photo-viewer.js
create mode 100644 scripts/exif-js-v2.3.0-added-support-for-extended-xmp.js
create mode 100644 scripts/offline-support.js
create mode 100644 service-worker.js
diff --git a/README.md b/README.md
index 2c6cc54..fd1b507 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,26 @@
-# 180-stereo-photo-viewer
+# 180 Stereo Photo Viewer
A VR180 photo viewer that works on a web browser.
+
+### Supported photo formats
+- VR180 photos (vr.jpg)
+- 180 stereo side by side photos
+
+### Features
+- Zenith correction (support Cardboard Camera VR Photo Format)
+- Offline support (experimental)
+
+### Notes
+- You need “Motion & Orientation Access” permission to use with Safari on iOS 12.2.
+ `Settings` -> `Safari` -> `PRIVACY & SECURITY` -> `Motion & Orientation Access`
+
+### Usage
+- Specify a photo in HTML file
+ Set the path of the photo to `index.html` `
`.
+- Select a photo in file picker
+ Double-click(tap) on the browser to select a photo.
+- To disable file picker
+ Remove `file-picker` component from `index.html` ``
+- To disable offline support
+ 1. Comment out `index.html` ``.
+ 2. Unregister the Service Worker.
+ 3. Delete the cache.
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..8ca5237
--- /dev/null
+++ b/index.html
@@ -0,0 +1,31 @@
+
+
+
+ 180 Stereo Photo Viewer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+