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

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

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

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

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

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 - 42 times downloaded - latest: Jun 29th 2019, 2:27pm)
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: 31

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