Opera 102.0.4857.0 developer
-
andrew84 last edited by andrew84
@leocg yes, but if you set volume less than 70% in PiP, it shouldn't increase automatically back. As I I understood this also happens to @kened.
It also happens to me with live videos.
I set 100% (or 80%, 90% doesn't matter) on youtube, then in PiP I set volume to minimum(10% for example) and after few seconds volume jumps back to the value set on youtube page. -
kened Banned last edited by
@leocg: No. This is a bug. Try Opera 99. This has always been the case. You are not understanding what I am telling you. Pip window volume control not working on Youtube. Until Opera 99, it always worked, as you would expect. To me it is logical that the pip window volume control should control the video volume.
-
leocg Moderator Volunteer last edited by
@kened Found some old topics about what seems to be the same issue:
https://forums.opera.com/topic/58063/youtube-volume-level
https://forums.opera.com/topic/57061/youtube-pop-out-player-volume-changes-automatically
-
andrew84 last edited by
@kened Strange. Why I can reproduce it only for stream (live) videos on youtube.
@kened said in Opera 102.0.4857.0 developer:
Until Opera 99, it always worked,
Could you open any stream video on youtube in Opera 99 or lower version and test?
-
burnout426 Volunteer last edited by
I don't use PIP., so I don't have any expectations of past behavior or anything. But, I tested things out and this is what I found:
I notice that Youtube normalizes the audio in videos when you upload them.
https://www.youtube.com/watch?v=CD-E-LDc384 is a good video to test with. With the volume all the way up on the video toolbar, check the stats and you'll see that the normalized volume is 51%. When you open the video popout, its volume will be set to the normalized 51%. Then, with the video stats still showing, change tracks in the video popout and you'll see the volume in the popout adjust to the normalized value for each track you switch to. In these cases, if you turn the volume all the way up in the popout, you're basically unnormalizing the volume from 51% to 100% and the slider in the main toolbar won't/can't/shouldn't go up anymore. Also note that when you lower the main volume for videos, the normalization values will adjust acorrdingly and the normalized volume the popout defaults to for each track will reflect that.
Now, if you lower the normalized volume in the popout, the main toolbar slider will change with it (lower). But, in this case, the main toolbar slider is representing your normalized adjustments and not the direct, regular volume exactly. If you change the track, you'll see the main slider change.
With live videos, I see they're not normalized (normalization 100%), so the popout slider is basically useless in that case, and if you change it, it gets reverted back to the main volume level.
So, the volume slider in the popout on Youtube is a per-video volume normalization control. That's probably why Opera doesn't add extra code to save state of your slider changes and restore them for each video.
With that said, if the popout volume control slider was a direct 1 to 1 sync of the main toolbar volume control through all videos, things would be much more intuitive. But, I guess this is a Youtube thing.
-
andrew84 last edited by andrew84
@burnout426 I always thought that the volume bar (its visual part) on the PiP is dynamic and the slider's visual state recalculates each time.
I mean that if 100% on the main toolbar = 50% on the PiP, then visually on the PiP the mentioned 50% will presented as 100%. But visual steps when increasing or decreasing will be different in this case for the main toolbar and PiP.
For example, when decreasing volume by 10%. For the main toolbar it will mean that slider will be moved to the left on 10 pixels, but on the PiP the slider will be moved on 20 pixels to the left. If in short, slider on the PiP should move twice faster than on the main toolbar. -
andrew84 last edited by andrew84
@leocg yes, after touching the PiP's volume control it becomes fully synchronized with the main volume control and stays synchronized until I touch the main volume control again.
*the same happens here with the @burnout426 's provided video, btw