mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix touch events in epub player
This commit is contained in:
parent
33b1f039ea
commit
5820416ede
3 changed files with 7 additions and 5 deletions
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -5243,9 +5243,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"epubjs": {
|
"epubjs": {
|
||||||
"version": "0.3.90",
|
"version": "0.3.93",
|
||||||
"resolved": "https://registry.npmjs.org/epubjs/-/epubjs-0.3.90.tgz",
|
"resolved": "https://registry.npmjs.org/epubjs/-/epubjs-0.3.93.tgz",
|
||||||
"integrity": "sha512-8S9Zi9aE3QHvkJbq1mJTfaE1++UysKxgeb2GEv3oR9PEsK+Sx3tzxs3QaRselAVPoTlP5gfLyEgp9BQIyAu8lA==",
|
"integrity": "sha512-c06pNSdBxcXv3dZSbXAVLE1/pmleRhOT6mXNZo6INKmvuKpYB65MwU/lO7830czCtjIiK9i+KR+3S+p0wtljrw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@types/localforage": "0.0.34",
|
"@types/localforage": "0.0.34",
|
||||||
"@xmldom/xmldom": "^0.7.5",
|
"@xmldom/xmldom": "^0.7.5",
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
"core-js": "3.20.2",
|
"core-js": "3.20.2",
|
||||||
"date-fns": "2.28.0",
|
"date-fns": "2.28.0",
|
||||||
"dompurify": "2.3.4",
|
"dompurify": "2.3.4",
|
||||||
"epubjs": "0.3.90",
|
"epubjs": "0.3.93",
|
||||||
"escape-html": "1.0.3",
|
"escape-html": "1.0.3",
|
||||||
"fast-text-encoding": "1.0.3",
|
"fast-text-encoding": "1.0.3",
|
||||||
"flv.js": "1.6.2",
|
"flv.js": "1.6.2",
|
||||||
|
|
|
@ -287,7 +287,9 @@ export class BookPlayer {
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: renderHeight,
|
height: renderHeight,
|
||||||
// TODO: Add option for scrolled-doc
|
// TODO: Add option for scrolled-doc
|
||||||
flow: 'paginated'
|
flow: 'paginated',
|
||||||
|
// Scripted content is required to allow touch event passthrough in Safari
|
||||||
|
allowScriptedContent: true
|
||||||
});
|
});
|
||||||
|
|
||||||
this.currentSrc = downloadHref;
|
this.currentSrc = downloadHref;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue