Skip to content

Commit 84b9949

Browse files
Deploy to GitHub Pages
1 parent bd0e8e5 commit 84b9949

89 files changed

Lines changed: 6721 additions & 4106 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

compiled/artplayer-proxy-mediabunny.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compiled/artplayer-proxy-mediabunny.legacy.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compiled/artplayer-proxy-mediabunny.mjs

Lines changed: 6560 additions & 3945 deletions
Large diffs are not rendered by default.

compiled/artplayer.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compiled/artplayer.legacy.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compiled/artplayer.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ function getPosFromEvent(art, event) {
12051205
}
12061206
function setCurrentTime(art, event) {
12071207
if (art.isRotate) {
1208-
const percentage = event.touches[0].clientY / art.height;
1208+
const percentage = (event.touches[0].clientY - art.top) / art.height;
12091209
const second = percentage * art.duration;
12101210
art.emit("setBar", "played", percentage, event);
12111211
art.seek = second;

document/404.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

document/advanced/built-in.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

document/advanced/class.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

document/advanced/event.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)