Skip to content

Commit

Permalink
fix: forced orientation on some apps
Browse files Browse the repository at this point in the history
feat: hidable controls bar on video player, better bottom bar gradient
  • Loading branch information
ThaUnknown committed Sep 1, 2022
1 parent e3e2ec0 commit 978c6d4
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 16 deletions.
1 change: 0 additions & 1 deletion audio-player/public/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"start_url": ".",
"display": "fullscreen",
"lang": "en-US",
"orientation": "landscape",
"background_color": "#191c20",
"theme_color": "#191c20",
"scope": "/audio-player/public/",
Expand Down
1 change: 0 additions & 1 deletion img-viewer/public/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"start_url": ".",
"display": "fullscreen",
"lang": "en-US",
"orientation": "landscape",
"background_color": "#191c20",
"theme_color": "#191c20",
"scope": "/img-viewer/public/",
Expand Down
1 change: 0 additions & 1 deletion screen-recorder/public/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"start_url": ".",
"display": "fullscreen",
"lang": "en-US",
"orientation": "landscape",
"background_color": "#191c20",
"theme_color": "#191c20",
"scope": "/screen-recorder/public/",
Expand Down
10 changes: 5 additions & 5 deletions sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const cacheList = {
]
},
'img-viewer': {
version: '1.4.0',
version: '1.4.1',
resources: [
'../img-viewer/public/build/bundle.js',
'../img-viewer/public/build/bundle.css',
Expand All @@ -19,7 +19,7 @@ const cacheList = {
]
},
'audio-player': {
version: '1.8.2',
version: '1.8.3',
resources: [
'../audio-player/public/build/bundle.js',
'../audio-player/public/build/bundle.css',
Expand All @@ -32,7 +32,7 @@ const cacheList = {
]
},
'video-player': {
version: '2.0.0',
version: '2.0.1',
resources: [
'https://cdn.jsdelivr.net/npm/[email protected]/dist/anitomyscript.bundle.min.js',
'https://cdn.jsdelivr.net/npm/[email protected]/dist/anitomyscript.wasm',
Expand All @@ -50,7 +50,7 @@ const cacheList = {
]
},
'torrent-client': {
version: '1.2.8',
version: '1.2.9',
resources: [
'../torrent-client/public/build/bundle.js',
'../torrent-client/public/build/bundle.css',
Expand All @@ -61,7 +61,7 @@ const cacheList = {
]
},
'screen-recorder': {
version: '1.1.0',
version: '1.1.1',
resources: [
'../screen-recorder/public/build/bundle.js',
'../screen-recorder/public/build/bundle.css',
Expand Down
1 change: 0 additions & 1 deletion torrent-client/public/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"start_url": ".",
"display": "fullscreen",
"lang": "en-US",
"orientation": "landscape",
"background_color": "#191c20",
"theme_color": "#191c20",
"scope": "/torrent-client/public/",
Expand Down
6 changes: 3 additions & 3 deletions video-player/public/build/bundle.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion video-player/public/build/bundle.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion video-player/public/build/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion video-player/public/build/bundle.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions video-player/public/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"short_name": "Videos",
"start_url": ".",
"display": "fullscreen",
"display_override": ["window-controls-overlay"],
"lang": "en-US",
"orientation": "landscape",
"background_color": "#191c20",
Expand Down
3 changes: 2 additions & 1 deletion video-player/src/modules/Player.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,8 @@
}
.bottom {
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 75%, transparent);
padding-top: 3rem;
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0.4) 65%, rgba(0, 0, 0, 0.1) 90%, transparent);
transition: 0.5s opacity ease;
}
.top {
Expand Down

0 comments on commit 978c6d4

Please sign in to comment.