Skip to content

Commit 7113af8

Browse files
committed
Update Picviewer CE+.user.js
1 parent 66a3743 commit 7113af8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12356,6 +12356,7 @@ ImgOps | https://imgops.com/#b#`;
1235612356
}
1235712357
const originalWidth = highestRepresentation ? highestRepresentation.width : player.videoWidth();
1235812358
const originalHeight = highestRepresentation ? highestRepresentation.height : player.videoHeight();
12359+
this.addClass('vjs-has-started');
1235912360
media.naturalWidth = originalWidth;
1236012361
media.naturalHeight = originalHeight;
1236112362
media.onload();
@@ -24144,7 +24145,7 @@ ImgOps | https://imgops.com/#b#`;
2414424145
}
2414524146
if (headers) {
2414624147
if (typeof headers == 'function') {
24147-
headers = await headers(url, xhr, getCookie);
24148+
headers = await headers(url + (post ? `#p{${post}}` : ""), xhr, getCookie);
2414824149
}
2414924150
opts.headers = headers;
2415024151
}

0 commit comments

Comments
 (0)