Sie sind nicht angemeldet.

1

Donnerstag, 2. November 2017, 12:02

Controls for video?

Any working example for controls in video plugin - distorted video preferably?

https://krpano.com/plugins/videoplayer/#html5controls

Marty

Sergey74

Fortgeschrittener

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

2

Donnerstag, 2. November 2017, 19:05

Here are examples
https://krpano.com/video/
translation difficulties *huh*

3

Donnerstag, 2. November 2017, 20:43

Hi,

just add html5controls="true" and for hotspots also renderer="css3d" to the videoplayer plugin.

Here an example:
https://krpano.com/examples/119/krpano.h….renderer=css3d

Best regards,
Klaus

4

Donnerstag, 2. November 2017, 21:41

Hi,

just add html5controls="true" and for hotspots also renderer="css3d" to the videoplayer plugin.

Here an example:
https://krpano.com/examples/119/krpano.h….renderer=css3d

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 :-(

5

Donnerstag, 2. November 2017, 22:17

Hi,

just add html5controls="true" and for hotspots also renderer="css3d" to the videoplayer plugin.

Here an example:
https://krpano.com/examples/119/krpano.h….renderer=css3d

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??

Mael B.

Schüler

Beiträge: 157

Wohnort: France, Montpellier

  • Nachricht senden

6

Mittwoch, 21. November 2018, 11:00

Any some news from this lack of control ?

7

Mittwoch, 21. November 2018, 11:40

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.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »San7« (21. November 2018, 11:54)


Mael B.

Schüler

Beiträge: 157

Wohnort: France, Montpellier

  • Nachricht senden

8

Mittwoch, 21. November 2018, 12:02

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.
Nice implementation *smile*
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...)

9

Mittwoch, 21. November 2018, 12:14

Do you want to play a video in the photo gallery?

Mael B.

Schüler

Beiträge: 157

Wohnort: France, Montpellier

  • Nachricht senden

10

Mittwoch, 21. November 2018, 23:56

yes exactly ;-) (as an improvement of my photo gallery plugin)

11

Donnerstag, 22. November 2018, 09:57

video player control panel

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

Quellcode

1
<include url="video_player/open_video.xml" /> 

Quellcode

1
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).
»San7« hat folgende Datei angehängt:

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »San7« (23. November 2018, 04:55)


Mael B.

Schüler

Beiträge: 157

Wohnort: France, Montpellier

  • Nachricht senden

12

Donnerstag, 22. November 2018, 11:28

Thanks a lot !! *thumbup*

I totally forget this example from Klaus... it will be a good basics for my use *smile*

Reggie

Schüler

Beiträge: 92

Wohnort: Seymour, TN US

Beruf: Virtual Tour Photographer

  • Nachricht senden

13

Montag, 10. Dezember 2018, 14:24

Videopano

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

14

Dienstag, 11. Dezember 2018, 05:30

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.

15

Dienstag, 13. August 2019, 17:11

How to Realize Hot Pop Video and Close Other Sound Effects in Scene

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »uktoo« (15. August 2019, 03:17)