mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
replace all images when using identify function
This commit is contained in:
parent
9029ce93d3
commit
6b1c289d0c
5 changed files with 30 additions and 11 deletions
|
@ -20,6 +20,7 @@
|
|||
|
||||
self.isLocalPlayer = true;
|
||||
self.isDefaultPlayer = true;
|
||||
|
||||
self.name = 'Html5 Player';
|
||||
|
||||
self.getTargets = function () {
|
||||
|
@ -45,7 +46,7 @@
|
|||
|
||||
var playerTime = Math.floor(10000000 * (mediaElement || currentMediaElement).currentTime);
|
||||
|
||||
//if (currentItem.MediaType == 'Audio') {
|
||||
//if (!self.isCopyingTimestamps) {
|
||||
playerTime += self.startTimeTicksOffset;
|
||||
//}
|
||||
|
||||
|
@ -486,7 +487,7 @@
|
|||
|
||||
self.currentItem = item;
|
||||
self.currentMediaSource = getOptimalMediaSource(item.MediaType, item.MediaSources);
|
||||
|
||||
|
||||
mediaElement = playAudio(item, self.currentMediaSource, startPosition);
|
||||
|
||||
self.currentDurationTicks = self.currentMediaSource.RunTimeTicks;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue