Any working example for controls in video plugin - distorted video preferably?
https://krpano.com/plugins/videoplayer/#html5controls
Marty
Any working example for controls in video plugin - distorted video preferably?
https://krpano.com/plugins/videoplayer/#html5controls
Marty
Here are examples
https://krpano.com/video/
Hi,
just add html5controls="true" and for hotspots also renderer="css3d" to the videoplayer plugin.
Best regards,
Klaus
Hi,
just add html5controls="true" and for hotspots also renderer="css3d" to the videoplayer plugin.
Best regards,
Klaus
Thanks Klaus,
seeking button does not work for me, sound control does not work and fullscreen button also does not work. Testing onW7/64bit and FF 56.0.2.
Even worse in Chrome
I can only start and stop with these controls. Not enough. I need seeking feature
Hi,
just add html5controls="true" and for hotspots also renderer="css3d" to the videoplayer plugin.
Best regards,
Klaus
There is no "controls", there is only an "indicator" if video plays or not.
Any mouse click on "controls" does not affect , every click just plays and pauses the video.
Look:
https://youtu.be/2U_nGdXbAak
How to force the "controls" to behave like controls??
Any some news from this lack of control ?
Any some news from this lack of control ?
Hello,
I implemented the control panel, added a timeline and a slider for which you can move the video, but it is implemented in the plugin
Example here , click play
The panel also opens to play audio files.
Hello,
I implemented the control panel, added a timeline and a slider for which you can move the video, but it is implemented in the plugin
Example here , click play
The panel also opens to play audio files.
Nice implementation
Actually, I asked the question to know if i need to to the same for my own plugin. (i'm currently working to add video support...)
Do you want to play a video in the photo gallery?
yes exactly (as an improvement of my photo gallery plugin)
Klaus has an example with a control panel, I did it a little in my own way, thanks to him
I want to share this with forum users and I hope this will be useful to someone. The code is open.
Download the archive and place it in the root folder.
connect
videoplayer_open(%CURRENTXML%/video/video.mp4,%CURRENTXML%/video/video.webm,%CURRENTXML%/video/video-poster.jpg,0.5,0.9,0.9,true);
1 - video ( %CURRENTXML%/video/video.mp4).
2 - alternative video ( %CURRENTXML%/video/video.webm).
3 - poster (%CURRENTXML%/video/video-poster.jpg).
4 - volume ( 0.5).
5 - open video width (1 is the width of the screen, 0.5 is half the width of the screen) (0.9).
6 - open video height ( 0.9 ).
7 - loop video (true).
Thanks a lot !!
I totally forget this example from Klaus... it will be a good basics for my use
videoplayer_open(%CURRENTXML%/video/video.mp4,%CURRENTXML%/video/video.webm,%CURRENTXML%/video/video-poster.jpg,0.5,0.9,0.9,true);
San,
Thank you for sharing this. It is a very useful tool! Is there a way to play a panovideo (360 video) inside of the viewer? When I try, it plays as the 360 video flat. I noticed in your example earlier in the string that the Klaus panovideo example was playing in the TV on the wall. But it, too, was playing only as a flat video with no interactivity. Thank you again - Reggie
Hello,
Maybe I did not quite understand, but above there is an example from Klaus with video playback 360.
Yes, the video on the wall in the example without the control panel.
How to Realize Hot Pop Video and Close Other Sound Effects in Scene
Don’t have an account yet? Register yourself now and be a part of our community!