|
|
@ -19594,6 +19594,12 @@ style.textContent = css `
|
|
|
|
white-space: nowrap;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.viewProgress {
|
|
|
|
|
|
|
|
background: #e5a00d;
|
|
|
|
|
|
|
|
height: 3px;
|
|
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
}
|
|
|
|
.toViewEpisode {
|
|
|
|
.toViewEpisode {
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
height: 28px;
|
|
|
|
height: 28px;
|
|
|
@ -20774,6 +20780,12 @@ class PlexMeetsHomeAssistant extends HTMLElement {
|
|
|
|
toViewElem.innerHTML = (data.leafCount - data.viewedLeafCount).toString();
|
|
|
|
toViewElem.innerHTML = (data.leafCount - data.viewedLeafCount).toString();
|
|
|
|
interactiveArea.appendChild(toViewElem);
|
|
|
|
interactiveArea.appendChild(toViewElem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (data.viewOffset > 0 && data.duration > 0) {
|
|
|
|
|
|
|
|
const toViewElem = document.createElement('div');
|
|
|
|
|
|
|
|
toViewElem.className = 'viewProgress';
|
|
|
|
|
|
|
|
toViewElem.style.width = `${(data.viewOffset / data.duration) * 100}%`;
|
|
|
|
|
|
|
|
interactiveArea.appendChild(toViewElem);
|
|
|
|
|
|
|
|
}
|
|
|
|
interactiveArea.className = 'interactiveArea';
|
|
|
|
interactiveArea.className = 'interactiveArea';
|
|
|
|
if (this.playController && this.playController.isPlaySupported(data)) {
|
|
|
|
if (this.playController && this.playController.isPlaySupported(data)) {
|
|
|
|
interactiveArea.append(playButton);
|
|
|
|
interactiveArea.append(playButton);
|
|
|
|