You are not logged in.

martyhr

Intermediate

  • "martyhr" started this thread

Posts: 386

Location: CZ

  • Send private message

1

Thursday, June 1st 2023, 1:54pm

Distorted video controls visible in 1.20.11 not in 1.21

Hi, I add distorted video with controls and it is working under 1.20.11.

The same code for distorted video with controls but under 1.21 is not visible.

Where should I search for the reason?

This post has been edited 2 times, last edit by "martyhr" (Jun 1st 2023, 4:36pm)


Tuur

Sage

Posts: 3,831

Location: Netherlands

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

  • Send private message

2

Thursday, June 1st 2023, 1:59pm

Can you provide a bare bone to see how you organize things?
Or share code perhaps..

Tuur *thumbsup*

Tuur

Sage

Posts: 3,831

Location: Netherlands

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

  • Send private message

martyhr

Intermediate

  • "martyhr" started this thread

Posts: 386

Location: CZ

  • Send private message

4

Thursday, June 1st 2023, 2:45pm

Hi Tuur,
I just drop pano to Make tours in Krpano tools.
Add the hotspot code and 1.20.11 works:

https://www.virtualczech.cz/video12011/tour.html


I make the same with Krapano tools 1.21 and copy paste the same hotspot code and no video under 1.21:

https://www.virtualczech.cz/video121/tour.html




:-(

Tuur

Sage

Posts: 3,831

Location: Netherlands

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

  • Send private message

5

Thursday, June 1st 2023, 2:52pm

Hi Matyhr,

I see an error:
ERROR: hotspot[hs_video] - loading of './plugins/videoplayer.swf' failed!

try videoplayer.js

also check the full path.

Hope it helps,
Tuur *thumbsup*

martyhr

Intermediate

  • "martyhr" started this thread

Posts: 386

Location: CZ

  • Send private message

6

Thursday, June 1st 2023, 2:55pm

Tuur,
I used your code and video is working in 1.21.

If I add renderer="css3d" and html5controls="true" the video is gone.

But I need controls in video......

martyhr

Intermediate

  • "martyhr" started this thread

Posts: 386

Location: CZ

  • Send private message

7

Thursday, June 1st 2023, 3:03pm

It seems that video is working only with renderer="webgl" and controls is not working.
If I set renderer="css3d" nad htmlcontrols="true" - video is gone.

But with the same renderer and htmlcontrols both video and controls are working under 1.20.11 as is in my example.

So, how to make controls working in video under 1.21 ???

Tuur

Sage

Posts: 3,831

Location: Netherlands

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

  • Send private message

8

Thursday, June 1st 2023, 3:07pm

I can't help you with that, I just never use that.
I always make my own custom controls when needed.

But strange they don't show.
Not sure why.

Tuur *thumbsup*

martyhr

Intermediate

  • "martyhr" started this thread

Posts: 386

Location: CZ

  • Send private message

9

Thursday, June 1st 2023, 4:35pm

I hope Klaus will reply this post.
I used to use videohtml5 controls until 1.21 with no problems. :-(
Thanks anyway Tuur

10

Friday, June 2nd 2023, 9:21am

Hi,

do you have a link to the example?

For using the html5 controls, the setting renderer="css3d" is required - but there is indeed a bug in the current version that causes an invisible video, when the renderer setting gets changed dynamically in some cases (is already fixed for the next release).

Best regards,
Klaus

Tuur

Sage

Posts: 3,831

Location: Netherlands

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

  • Send private message