Open KLalamex59 opened 5 months ago
It seems works
😴😴😴😴
https://drive.google.com/file/d/1fRATLaTWVXDJKBBgXFNcQIv18cWrnA98/view?usp=drive_link I have the same issue. this link is to video i google drive. (Windows 11 23H2 x64)
You can directly upload videos to GitHub, is your video so big that the upload fails? (also, the shared link is locked and it wants me to ask for access)
First yes it is too big 20MB (LIMIT 10) And second i gave everyone with link Access.
https://drive.google.com/file/d/1fRATLaTWVXDJKBBgXFNcQIv18cWrnA98/view?usp=drive_link I have the same issue. this link is to video i google drive. (Windows 11 23H2 x64)
Yeah i've the same... Now we just have to wait for him to decide to change "cannot-reproduce" 🤣🤣
I've had the same issue on my end and decided to tinker with it for a bit. I ended up getting it to work by reworking the plugin a bit and using CSS purely for positioning and sizing instead of JS calculations. It also fixes the issue where the ambient size is broken after switching to the mini-player and back. I have the branch ready locally, I would only need to get the permission to publish my branch and create the PR.
Just make a fork and open the PR?
Yeah, I might just do that. I don't have much free time lately but I'm sure I can get to do that sometime soon.
I have the same problem. Tried it with a completly fresh installtion, without any changes, besides enabling Ambient Mode.
Songs with static images work after a restart:
Songs with videos do not work after a restart:
Edit:
After some testing and experimenting, I found out that in the plugin "ambient-mode -> index.ts"
const video = songVideo?.querySelector<HTMLVideoElement>('.html5-video-container > video');
gets run, before the video could load, resulting it to be "null" and not passing the if-check.
I think this could be fixed by checking if it actually loaded or waiting a bit before running this piece of code.
Preflight Checklist
YouTube Music (Application) Version
3.2.2.0
Checklists
What operating system are you using?
Windows
Operating System Version
Windows 10 22H2
What arch are you using?
x64
Last Known Working YouTube Music (Application) version
No response
Reproduction steps
Expected Behavior
Reloading the plugin whenever links change might potentially resolve this issue, although I don't consider it an optimal optimization technique.
Actual Behavior
When the 'Ambient Mode' plugin is activated, it doesn't funtion properly when playing music with a video clip; it only works for songs without videos.
Enabled plugins
Additional Information
No response