ZenphotoCMS Forum
Can we add controls to the video control bar ? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Can we add controls to the video control bar ? (/thread-13216.html)



Can we add controls to the video control bar ? - ctdlg - 2019-03-24

Hello,

When playing a video, standard control bar gives few controls :
Alt text

Can we add more controls, like :
next picture, or picture by picture
rewind
loop




Can we add controls to the video control bar ? - acrylian - 2019-03-24

Well, not a simple answer. What you embedded above is the native HTML5 video/audio control bar to play a file. That is like it is and looks a bit different depending on the browser and plattform used.

To extend this you need to use JavaScript. There are some mediaplayer plugins available: jPlayer is currently included and there is the half official mediaelementjs player available. They also include playlist functionality (if you mean this with next picture).

Those player provide their own interface. medialementjs is also a framework you can build your own player interface with (naturally JS coding knowledge required)

But rewind btw is not really a concept any player has ;-)




Can we add controls to the video control bar ? - ctdlg - 2019-03-27

We can embed the vlc player.
Vlc has a rewind function, picture by picture button, and much more.

Of course, a visitor needs vlc to be installed.
But I'll only use it for special videos !




Can we add controls to the video control bar ? - acrylian - 2019-03-27

Of course, a visitor needs vlc to be installed.

Which makes this outside of Zenphoto's domain. You can install it on your computer but if you actually mean the actually Videolan server setup that is also outside of Zenphoto's domain.