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