You are not logged in.

benji33

Intermediate

  • "benji33" started this thread

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

1

Friday, April 3rd 2015, 4:15pm

Load many 360 videos into the same plugin with playvideo action : bug ?

Seems that the videoplayer plugin playaction is working with flash player but not with the html5 player (1.19pr).
On HTML5 player the second video called after a loadscene into the videoplayer plugin from playvideo action can't be moved and for the third and more a black screen is displayed.

benji33

Intermediate

  • "benji33" started this thread

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

2

Tuesday, April 7th 2015, 1:04pm

Seems to be a bug due to BLENDING.

Old code was

Source code

1
loadscene(scenname, NULL, MERGE, BLEND(1));


Works with

Source code

1
loadscene(scenename, NULL, MERGE|KEEPMOVING, NOBLEND);
- KEEPMOVING restore the mouse move (undocumented parameter yet, info here : krpano 1.19 (Pre Release) - WebVR / MobileVR / Stereoscopic 3D Support (Oculus Rift, Google Cardboard, GearVR, ...)).
- NOBLEND remove the black display due to the BLEND(1) between the 2 differents videos.

But why need a KEEPMOVING flag if I use NOBLEND ?

benji33

Intermediate

  • "benji33" started this thread

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

3

Tuesday, April 7th 2015, 5:27pm

Also noticed that a quick switch from video panorama to an image panorama to the same video panorama result to a black screen if the BLEND(1) script exist on the loadscene of the panorama image event if NOBLEND is set to video panoramas. Only NOBLEND on all panoramas solve this issue.

Tuur

Sage

Posts: 3,784

Location: Netherlands

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

  • Send private message

4

Tuesday, April 7th 2015, 6:16pm

I think this could have the same source of the problem.
If yes it will be fixed in the next release.

http://www.krpano.com/forum/wbb/index.ph…&threadID=12100

Tuur *thumbsup*

benji33

Intermediate

  • "benji33" started this thread

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

5

Wednesday, April 8th 2015, 9:22am

Thanks Tuur :)
I will try with 1.18.3 rather than 1.19pre-release to verify it.

benji33

Intermediate

  • "benji33" started this thread

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

6

Wednesday, April 8th 2015, 11:33am

Tested with 1.18.3
Works well with playvideo and BLEND(1)
... BUT when the video is already loaded into the videoplayer and a switch from video pano to pano image to same video pano (which is paused and seek to 0) the play() action doesn't display the video which is fixed. The the sound work, so the video is read behind but not projected on the canvas. The KEEPMOVING can't be tested on 1.18.3

This works with 1.19pre-release with KEEPMOVING flags + NOBLEND.

So the 1.19pre-release + BLENDING of the 1.18.3 should solve the issue ? Need test with 1.19pre-release 2.