mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-23 14:07:24 +00:00
parent
a574cedea3
commit
cd689ea3c7
@ -229,8 +229,11 @@ export default {
|
|||||||
var request = store.get(this.video.id);
|
var request = store.get(this.video.id);
|
||||||
request.onsuccess = function (event) {
|
request.onsuccess = function (event) {
|
||||||
var video = event.target.result;
|
var video = event.target.result;
|
||||||
if (video?.currentTime) {
|
const currentTime = video?.currentTime;
|
||||||
videoEl.currentTime = video.currentTime;
|
if (currentTime) {
|
||||||
|
if (currentTime < component.video.duration * 0.9) {
|
||||||
|
videoEl.currentTime = currentTime;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user