Commit graph

75 commits

Author SHA1 Message Date
Vladimir Panteleev
925d950efb assets/scripts.js: Fix playing hash + pre-specified video src 2019-07-28 08:16:55 +00:00
Vladimir Panteleev
776c2d1aaa assets/scripts.js: Allow #t12345 hash syntax
Similar to YouTube's ?t=12345.

Mostly for debugging.
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
363b1e32a8 assets/scripts.js: Improve title and hash updates
- Update them when the playback position changes by any means, not
  just when playing a certain chapter

- Include moments (choices) in hash and title

- Use choice descriptions in titles

- Allow meaningful back/forward navigation through chapters and choices
2019-07-28 08:16:55 +00:00
Vladimir Panteleev
c5fafb4c16 assets/scripts.js: Allow jumping to a chapter by setting the hash 2019-07-28 01:27:28 +00:00
Vladimir Panteleev
b4e04bccd1 assets/scripts.js: Improve handling of seeking
- Don't apply impressions when the player seeks into moments with
  impression data

- Fix false positives when seeking within the first few seconds of a
  segment
2019-07-28 01:20:34 +00:00
Vladimir Panteleev
588036f80e assets/scripts.js: Rename generateJs to preconditionToJS 2019-07-28 01:20:34 +00:00
Vladimir Panteleev
350a2caead assets/scripts.js: Fix undefined error for choices without descriptions 2019-07-28 01:20:34 +00:00
Vladimir Panteleev
4195108b0d assets/scripts.js: Track time and moments properly
WIP.

- Fixes a family of bugs such as pausing the video during a choice
  resulting in the video resuming at the default choice (while still
  paused) after a while.

- Unifies tracking of moments and cleans up redundant code.

- Fixes unnecessary stutter when transitioning between two segments
  that are adjacent in the video file.
2019-07-28 01:20:34 +00:00
Vladimir Panteleev
2c987cd81e assets/scripts.js: Improve handling of pre-specified video src
Fixes behavior if HTML is edited to indicate the video source.
2019-07-28 01:20:34 +00:00
Vladimir Panteleev
7e26ff3ddb assets/scripts.js: Don't hardcode initial segment 2019-07-28 01:20:34 +00:00
Vladimir Panteleev
68ec8bb628 assets/scripts.js: Fix check for undefined 2019-07-28 01:20:34 +00:00
Vladimir Panteleev
64bad02a3b assets/scripts.js: Do not trigger key events with modifier keys
These key combinations usually mean something else and are not
intended for the web page.
2019-07-28 01:20:34 +00:00
Vladimir Panteleev
afc3abb81c Fix onload JS error 2019-07-28 01:20:34 +00:00
Vladimir Panteleev
19c8003e62 assets/scripts.js: Delete unused function 2019-07-28 01:20:34 +00:00
Vladimir Panteleev
2826849ee0 assets/scripts.js: Fix JS warnings 2019-07-28 01:20:34 +00:00
Ali Zemani
65b9e0f437 update subtitle list on index.html 2019-07-15 16:56:54 +04:30
Ali Zemani
4a71282d1b Add Indonesian Subtitle 2019-07-15 16:51:07 +04:30
Ali Zemani
41d447dce7 Add Polish Subtitle 2019-07-15 16:48:12 +04:30
Ali Zemani
7344a9b087 Remove Czech subtitle 2019-07-15 16:44:10 +04:30
Ali Zemani
19e613fb43 add Persian Subtitle 2019-07-15 16:40:25 +04:30
Ali Zemani
5464eae498
Merge pull request #20 from Dilbao/master
Fix for Turkish subtitle
2019-07-15 16:35:42 +04:30
Dilbao
5b18b32783
Update index.html 2019-07-15 15:02:29 +03:00
Dilbao
7c1daec38b
Update BlackMirror.Bandersnatch-Turkish.vtt 2019-07-15 14:57:26 +03:00
Dilbao
5cbc5ea257
Update index.html 2019-07-15 01:57:42 +03:00
Dilbao
bb3a1773f6
Update BlackMirror.Bandersnatch-Turkish.vtt 2019-07-15 01:56:35 +03:00
Dilbao
e8b4a1c83c
Update index.html 2019-07-15 01:50:50 +03:00
Dilbao
872ce5e2e4
Rename BlackMirror.Bandersnatch-Turkish to BlackMirror.Bandersnatch-Turkish.vtt 2019-07-15 01:50:02 +03:00
Dilbao
21d8b3df27
Update index.html 2019-07-15 01:38:20 +03:00
Dilbao
1c57ef3ff0
Update BlackMirror.Bandersnatch-Turkish 2019-07-14 18:13:33 +03:00
Imanoel Ali
423b612133 add Czech subtitle + update Turkish and portuguese subtitle 2019-01-29 23:01:31 +03:30
Imanoel Ali
6ea66b18df add Turkish subtitle 2019-01-24 18:32:37 +03:30
Imanoel Ali
cb2e39b280 add Greek subtitle 2019-01-19 20:22:33 +03:30
Ali Zemani
2fbf4228bd
change some style 2019-01-19 12:15:17 +03:30
Ali Zemani
2764844c31
update file-dummy height 2019-01-19 12:12:35 +03:30
Ali Zemani
19e9a1447f
add html meta tag for seo 2019-01-19 11:54:46 +03:30
Imanoel Ali
4f61af6fa4 update style 2019-01-18 16:18:01 +03:30
Imanoel Ali
737144bb29 update readme 2019-01-18 16:16:42 +03:30
Imanoel Ali
cacfa79e1a update index tips 2019-01-18 16:13:06 +03:30
Imanoel Ali
9e19b05660 update readme 2019-01-18 16:02:49 +03:30
Imanoel Ali
7495e26ab7 add more subtitle 2019-01-18 16:00:54 +03:30
Imanoel Ali
4b748d103e add bitcoin wallet 2019-01-18 14:50:39 +03:30
Imanoel Ali
3a4f793b75 add bitcoin wallet 2019-01-18 14:48:07 +03:30
Imanoel Ali
42983a4ff9 update style 2019-01-18 13:19:44 +03:30
Imanoel Ali
1431589f8a add control tips to index 2019-01-18 13:17:24 +03:30
Imanoel Ali
bd424db590 remove old screenshot 2019-01-18 12:47:02 +03:30
Imanoel Ali
f5a99e4e3b add more scren shot + update readme 2019-01-18 12:46:38 +03:30
Imanoel Ali
746b7075e7 update readme 2019-01-18 12:40:35 +03:30
Imanoel Ali
e95ce59c12 update footer 2019-01-18 12:01:02 +03:30
Imanoel Ali
3eb2c80206 update readme 2019-01-18 11:59:19 +03:30
Imanoel Ali
7a5082be07 remove control 2019-01-18 11:48:21 +03:30