Page 1 of 1

Button video play overlayed with zoom button

Posted: Wed Feb 26, 2025 5:04 pm
by busymind
Does not seems reported here, if we use a touch screen (or even with mouse) the play button being behind Zoom Minus is difficult to access it.

Re: Button video play overlayed with zoom button

Posted: Thu Feb 27, 2025 7:44 pm
by IgorA100
busymind
Yes, that's right.
Your suggestions? The "Play" button is standard in the player and its location cannot be changed.
My suggestion is not to use this button, but to control playback with the control buttons under the image.

Re: Button video play overlayed with zoom button

Posted: Thu Feb 27, 2025 7:46 pm
by iconnor
Can we hide it I wonder?

Re: Button video play overlayed with zoom button

Posted: Thu Feb 27, 2025 7:48 pm
by IgorA100
iconnor wrote: Thu Feb 27, 2025 7:46 pm Can we hide it I wonder?
I'll think again.
But I wanted to do it once, but I couldn't.

ADD: Oh, I probably wanted to hide it, but I never started doing it. I know how to hide it...
I remembered! There is a small problem. For example, when you refresh the page, the playback does not start automatically. I will deal with this problem.

Re: Button video play overlayed with zoom button

Posted: Thu Feb 27, 2025 10:52 pm
by iconnor
It is nearly impossible to deal with the page reload problem, unless the user changes the settings for the page to allow auto play. Best we can do is popup saying how to do that.

Re: Button video play overlayed with zoom button

Posted: Fri Feb 28, 2025 3:21 am
by busymind
Sorry for late reply, leave it, but in the middle IMHO, it's big, it's like the other buttons +, -, it's accessible.
I just seen this

Quote:
" Your suggestions? The "Play" button is standard in the player and its location cannot be changed.
My suggestion is not to use this button, but to control playback with the control buttons under the image."


Well, if no control over player, I understand, I thought is somewhere in css. After upgrade I do not see it now.
Design perspective ... hiding it is fine or move + add minus if control over.
Next time I will try to propose solutions also if I can :) cheers.

Re: Button video play overlayed with zoom button

Posted: Fri Feb 28, 2025 9:42 am
by IgorA100
I fixed the player behavior.
https://github.com/ZoneMinder/zoneminder/pull/4237

As a side effect :) - now the standard "Play" button of the "videojs" player should not be displayed.