You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Sergey74

Trainee

  • "Sergey74" started this thread

Posts: 136

Location: Russia, Chelyabinsk

Occupation: professional noob

  • Send private message

1

Saturday, November 5th 2016, 7:48pm

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"

Source code

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 has attached the following file:
translation difficulties *huh*

This post has been edited 7 times, last edit by "Sergey74" (Nov 20th 2017, 9:37am)


Dmitry.G.J

Beginner

Posts: 16

Location: Surgut, Russia

  • Send private message

2

Sunday, November 6th 2016, 5:25pm

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

mstoss

Intermediate

Posts: 287

Location: Berlin

  • Send private message

3

Sunday, November 6th 2016, 8:04pm

That looks awesome! Thank you.

Michael

Dmitry.G.J

Beginner

Posts: 16

Location: Surgut, Russia

  • Send private message

4

Monday, November 7th 2016, 10:39am

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

Sergey74

Trainee

  • "Sergey74" started this thread

Posts: 136

Location: Russia, Chelyabinsk

Occupation: professional noob

  • Send private message

5

Monday, November 7th 2016, 11:44am

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*

Dmitry.G.J

Beginner

Posts: 16

Location: Surgut, Russia

  • Send private message

6

Monday, November 7th 2016, 12:04pm

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

Wednesday, November 30th 2016, 3:57pm

Thank you.~

*thumbsup* *thumbsup*

Wikinuts

Beginner

Posts: 6

Location: France

  • Send private message

8

Tuesday, December 6th 2016, 3:08pm

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

Sergey74

Trainee

  • "Sergey74" started this thread

Posts: 136

Location: Russia, Chelyabinsk

Occupation: professional noob

  • Send private message

9

Tuesday, December 6th 2016, 5:31pm

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 has attached the following image:
  • vhseditor_demo.jpg
translation difficulties *huh*

10

Tuesday, August 8th 2017, 4:40pm

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

Trainee

  • "Sergey74" started this thread

Posts: 136

Location: Russia, Chelyabinsk

Occupation: professional noob

  • Send private message

11

Wednesday, August 9th 2017, 10:57am

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:

Source code

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 has attached the following file:
  • vhse_example.zip (132.82 kB - 45 times downloaded - latest: Dec 23rd 2019, 3:51pm)
translation difficulties *huh*

This post has been edited 2 times, last edit by "Sergey74" (Aug 9th 2017, 11:11am)


12

Wednesday, August 9th 2017, 12:04pm

Many thanks, it was helpful.. *thumbup*

Faster editing of these settings:

Source code

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

Beginner

Posts: 32

Location: Iran

Occupation: Tehran,Alborz,nazarabad,

  • Send private message

13

Saturday, September 9th 2017, 3:39pm

thank you
Thank you very much, very useful.
livepano.ir

14

Monday, December 23rd 2019, 3:53pm

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

Intermediate

Posts: 299

Location: Milwaukee, WI USA

Occupation: Professional Photographer

  • Send private message

15

Monday, December 23rd 2019, 5:23pm

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

Trainee

  • "Sergey74" started this thread

Posts: 136

Location: Russia, Chelyabinsk

Occupation: professional noob

  • Send private message

16

Monday, December 23rd 2019, 5:37pm

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

Trainee

  • "Sergey74" started this thread

Posts: 136

Location: Russia, Chelyabinsk

Occupation: professional noob

  • Send private message

17

Monday, December 23rd 2019, 5:40pm

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

Intermediate

Posts: 299

Location: Milwaukee, WI USA

Occupation: Professional Photographer

  • Send private message

18

Monday, December 23rd 2019, 6:29pm

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

Sage

Posts: 3,227

Location: Netherlands

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

  • Send private message

19

Monday, December 23rd 2019, 10:29pm

Hi Scott,

Maybe the ToolBox can give you any conveniance?
https://krpano.com/forum/wbb/index.php?p…&threadID=16023

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Scott Witte

Intermediate

Posts: 299

Location: Milwaukee, WI USA

Occupation: Professional Photographer

  • Send private message

20

Tuesday, December 24th 2019, 1:27am

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.