Compare commits

..

6 Commits

Author SHA1 Message Date
CodeDevMLH
e6b769f099 Update manifest.json for release v1.5.0.14 [skip ci] 2026-02-09 15:30:53 +00:00
CodeDevMLH
77371f7b98 Bump version to 1.5.0.14 and update changelog in manifest.json
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 58s
2026-02-09 16:29:56 +01:00
CodeDevMLH
988b800b6d Update manifest.json for release v1.5.0.13 [skip ci] 2026-02-09 15:21:45 +00:00
CodeDevMLH
4c6514ba9f Bump version to 1.5.0.13 and update changelog in manifest.json
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 52s
2026-02-09 16:20:52 +01:00
CodeDevMLH
6910eba7d6 Update manifest.json for release v1.5.0.12 [skip ci] 2026-02-09 15:10:07 +00:00
CodeDevMLH
3585b47b6c Bump version to 1.5.0.12 and update changelog in manifest.json
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 56s
2026-02-09 16:09:10 +01:00
4 changed files with 28 additions and 11 deletions

View File

@@ -12,7 +12,7 @@
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> --> <!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
<Title>Jellyfin Media Bar Enhanced Plugin</Title> <Title>Jellyfin Media Bar Enhanced Plugin</Title>
<Authors>CodeDevMLH</Authors> <Authors>CodeDevMLH</Authors>
<Version>1.5.0.11</Version> <Version>1.5.0.14</Version>
<RepositoryUrl>https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced</RepositoryUrl> <RepositoryUrl>https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced</RepositoryUrl>
</PropertyGroup> </PropertyGroup>

View File

@@ -371,7 +371,12 @@
.video-container.active { .video-container.active {
opacity: 1; opacity: 1;
pointer-events: auto; pointer-events: auto;
width: 100% !important; /* Force width when active, matching upstream logic behavior */ width: 100%;
}
.video-player {
width: 100%;
height: 100%;
} }
/* Ensure video inside container fills it */ /* Ensure video inside container fills it */
@@ -418,6 +423,10 @@
object-position: center 20%; object-position: center 20%;
border-radius: 5px; border-radius: 5px;
z-index: 3; z-index: 3;
transition:
width 0.5s ease-in-out,
mask-image 0.5s ease-in-out,
-webkit-mask-image 0.5s ease-in-out;
mask-image: linear-gradient(to top, mask-image: linear-gradient(to top,
#fff0 2%, #fff0 2%,
rgb(0 0 0 / 0.5) 6%, rgb(0 0 0 / 0.5) 6%,

View File

@@ -1699,13 +1699,16 @@ const SlideCreator = {
const slide = document.querySelector(`.slide[data-item-id="${itemId}"]`); const slide = document.querySelector(`.slide[data-item-id="${itemId}"]`);
const videoContainer = slide ? slide.querySelector('.video-container') : null; const videoContainer = slide ? slide.querySelector('.video-container') : null;
if (event.data === YT.PlayerState.PLAYING) { if (event.data === YT.PlayerState.PLAYING || event.data === YT.PlayerState.BUFFERING) {
if (videoContainer) videoContainer.classList.add('active'); if (videoContainer) videoContainer.classList.add('active');
} else { } else {
if (videoContainer) videoContainer.classList.remove('active'); if (videoContainer && event.data !== YT.PlayerState.BUFFERING) {
videoContainer.classList.remove('active');
}
} }
if (event.data === YT.PlayerState.ENDED) { if (event.data === YT.PlayerState.ENDED) {
if (videoContainer) videoContainer.classList.remove('active');
if (CONFIG.waitForTrailerToEnd) { if (CONFIG.waitForTrailerToEnd) {
SlideshowManager.nextSlide(); SlideshowManager.nextSlide();
} else { } else {
@@ -1714,6 +1717,7 @@ const SlideCreator = {
} }
}, },
'onError': () => { 'onError': () => {
if (videoContainer) videoContainer.classList.remove('active');
// Fallback to next slide on error // Fallback to next slide on error
if (CONFIG.waitForTrailerToEnd) { if (CONFIG.waitForTrailerToEnd) {
SlideshowManager.nextSlide(); SlideshowManager.nextSlide();
@@ -1780,9 +1784,13 @@ const SlideCreator = {
isVideo = false; isVideo = false;
hasUpstreamVideo = true; hasUpstreamVideo = true;
backdrop.addEventListener('play', () => videoContainer.classList.add('active')); // Use requestAnimationFrame to ensure listeners attach and class adds correctly
backdrop.addEventListener('pause', () => videoContainer.classList.remove('active')); requestAnimationFrame(() => {
backdrop.addEventListener('ended', () => videoContainer.classList.remove('active')); backdrop.addEventListener('play', () => videoContainer.classList.add('active'));
backdrop.addEventListener('playing', () => videoContainer.classList.add('active'));
backdrop.addEventListener('pause', () => videoContainer.classList.remove('active'));
backdrop.addEventListener('ended', () => videoContainer.classList.remove('active'));
});
} }
} }
} }

View File

@@ -9,12 +9,12 @@
"imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/raw/branch/main/logo.png", "imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/raw/branch/main/logo.png",
"versions": [ "versions": [
{ {
"version": "1.5.0.11", "version": "1.5.0.14",
"changelog": "- fix: keyboard controls in TV mode\n- Add sorting options for content\n- Update mediaBarEnhanced.js and mediaBarEnhanced.css with version 4.0.1 from original repo", "changelog": "- fix: keyboard controls in TV mode\n- Add sorting options for content\n- Update mediaBarEnhanced.js and mediaBarEnhanced.css with version 4.0.1 from original repo",
"targetAbi": "10.11.0.0", "targetAbi": "10.11.0.0",
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.5.0.11/Jellyfin.Plugin.MediaBarEnhanced.zip", "sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.5.0.14/Jellyfin.Plugin.MediaBarEnhanced.zip",
"checksum": "2cda99e64a771dfd53d640daccd84a39", "checksum": "c2ed0d5ac38c3be6f904027fef0ff8eb",
"timestamp": "2026-02-09T14:56:04Z" "timestamp": "2026-02-09T15:30:51Z"
}, },
{ {
"version": "1.3.0.3", "version": "1.3.0.3",