Sie sind nicht angemeldet.

Sergey74

Fortgeschrittener

  • »Sergey74« ist der Autor dieses Themas

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

1

Samstag, 5. November 2016, 19:48

Video Hotspot Editor


Hello everybody!
It seemed to me not very comfortable original editor for precise positioning of the video. So I did my panel.
It is very easy to use.
1) Plug the XML file videospot_editor.xml
2) Rename a hotspot in the "hs_video"

Quellcode

1
2
3
4
5
6
7
8
<krpano>
<include url="videospot_editor.xml" />
...
<layer name="video"
   	url.html5="videoplayer.js"
   	videourl="video.mp4"
   	/>
<hotspot name="hs_video" style="video"/>

Be sure to watch this video to see how it works https://www.youtube.com/watch?v=4TU9rjxpDoo
Here you can practice https://panosphera.ru/en/krpano/vhseditor
»Sergey74« hat folgende Datei angehängt:
translation difficulties *huh*

Dieser Beitrag wurde bereits 7 mal editiert, zuletzt von »Sergey74« (20. November 2017, 09:37)


2

Sonntag, 6. November 2016, 17:25

it's cool, great plugin, thank you very much!

3

Sonntag, 6. November 2016, 20:04

That looks awesome! Thank you.

Michael

4

Montag, 7. November 2016, 10:39

Sergey, i include xml, but nothing happened, what am I doing wrong? XML is encoded, maybe this problem?

Sergey74

Fortgeschrittener

  • »Sergey74« ist der Autor dieses Themas

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

5

Montag, 7. November 2016, 11:44

Sergey, i include xml, but nothing happened, what am I doing wrong? XML is encoded, maybe this problem?

Try again. My mistake, I encrypted the XML file with private encryption, respectively, he worked only with my license *g*
Thank you for your comment!
translation difficulties *huh*

6

Montag, 7. November 2016, 12:04

Try again. My mistake, I encrypted the XML file with private encryption, respectively, he worked only with my license *g*
Thank you for your comment!
it works now! Thanks! a very helpful thing!

7

Mittwoch, 30. November 2016, 15:57

Thank you.~

*thumbsup* *thumbsup*

8

Dienstag, 6. Dezember 2016, 15:08

Hi Sergey,
I'm in the same case of Dmitry, your XML is encrypted :(
this is so cool , i have to try this !

Sergey74

Fortgeschrittener

  • »Sergey74« ist der Autor dieses Themas

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

9

Dienstag, 6. Dezember 2016, 17:31

Hi Sergey,
I'm in the same case of Dmitry, your XML is encrypted :(
this is so cool , i have to try this !

Hello! The editor encrypted, but it operates independently of the license
»Sergey74« hat folgendes Bild angehängt:
  • vhseditor_demo.jpg
translation difficulties *huh*

10

Dienstag, 8. August 2017, 16:40

Normal hotspot

Thank you, nice work..
I tried a normal hotspot. Width and height did not work. Is it possible to adapt for normal hotspot?. *thumbsup*

Sergey74

Fortgeschrittener

  • »Sergey74« ist der Autor dieses Themas

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

11

Mittwoch, 9. August 2017, 10:57

Thank you, nice work..
I tried a normal hotspot. Width and height did not work. Is it possible to adapt for normal hotspot?. *thumbsup*
Hi!
Editing width and height is not provided, only the scale. The editor also works with regular images. You just need to rename it to "hs_video"
You can change the step by adding the following lines:

Quellcode

1
2
3
4
5
6
7
8
	<!-- EDITOR SETTINGS -->
	<editor_settings step_rxy="0.1"
	             	step_rz="0.01"
	             	step_at="0.001" 	<!-- ath/atv -->
	             	step_scale="0.001"
	             	step_scale_fine="0.0001"
	             	step_alpha="0.1"
	           	/>


See the example in the attachment, start right away with step 3 Fine adjustment (or step 2 If you want to install the hotspot in the right place)
»Sergey74« hat folgende Datei angehängt:
  • vhse_example.zip (132,82 kB - 184 mal heruntergeladen - zuletzt: Heute, 06:37)
translation difficulties *huh*

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Sergey74« (9. August 2017, 11:11)


12

Mittwoch, 9. August 2017, 12:04

Many thanks, it was helpful.. *thumbup*

Faster editing of these settings:

Quellcode

1
2
3
4
5
6
7
8
<!-- EDITOR SETTINGS -->
	<editor_settings step_rxy="0.1"
	             	step_rz="0.1"
	             	step_at="0.1"
	             	step_scale="0.1"
	             	step_scale_fine="0.1"
	             	step_alpha="0.1"
	           	/>

samadi

Schüler

Beiträge: 56

Wohnort: Iran

Beruf: Tehran,Alborz,nazarabad,

  • Nachricht senden

13

Samstag, 9. September 2017, 15:39

thank you
Thank you very much, very useful.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »samadi« (23. April 2023, 18:20)


14

Montag, 23. Dezember 2019, 15:53

Hi!

This is very useful, but the ath/atv adjustments do not work properly, the hotspot is moving but by miniscule amounts, so one has to hold down the corresponding button for really long times to adjust the position. Can you fix this? Or perhaps share the source, then I'd fix it myself :)

Cheers!

Scott Witte

Fortgeschrittener

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

15

Montag, 23. Dezember 2019, 17:23

Darn!!! This has been around since 2016? Could have saved me so much time building my own, far less elegant tool if only I had known. May I suggest listing this with the other plugins on the documentation page? Far more people might find it. Very, very useful!

Sergey74

Fortgeschrittener

  • »Sergey74« ist der Autor dieses Themas

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

16

Montag, 23. Dezember 2019, 17:37

Hi!

This is very useful, but the ath/atv adjustments do not work properly, the hotspot is moving but by miniscule amounts, so one has to hold down the corresponding button for really long times to adjust the position. Can you fix this? Or perhaps share the source, then I'd fix it myself :)

Cheers!
Hi!

I’m not sure that I will ever return to writing code on the krpano.
I had a desire to make a tool in which the video could be inserted
simply using four points (corners), but I could not cope with 3D
geometry. Now I have no time to do this. There are similar tools on the
forum, try using them.
In my example, the parameter step_at = "0.1" is responsible for moving along the axes ath/atv
translation difficulties *huh*

Sergey74

Fortgeschrittener

  • »Sergey74« ist der Autor dieses Themas

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

17

Montag, 23. Dezember 2019, 17:40

Darn!!! This has been around since 2016? Could have saved me so much time building my own, far less elegant tool if only I had known. May I suggest listing this with the other plugins on the documentation page? Far more people might find it. Very, very useful!

Of course you can, but I do not promise to develop anything in the future.
translation difficulties *huh*

Scott Witte

Fortgeschrittener

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

18

Montag, 23. Dezember 2019, 18:29

There are similar tools on the
forum, try using them.

Indeed. I just discovered one, Add Hotspot. Seems there are all kinds of new, very useful plugins since I last explored in any depth.

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

Scott Witte

Fortgeschrittener

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

20

Dienstag, 24. Dezember 2019, 01:27

Very nice, Tuur!

Yours is closer to what I designed for myself for distorted hotspots, maybe a year earlier. But your ToolBox is far more capable and looks much nicer.

I don't think it is in the available plugins list. If not, I encourage you to add it so more people can benefit from your generous offering.