<hotspot name="docent"
url="%VIEWER%/plugins/videoplayer.js"
videourl="./video/docent_scene_02.mp4"
onvideoready="set(hotspot[docent].alphachannel, 'TB')"
pausedonstart="false"
loop="false" zorder="5000"
distorted="true"
autopause="true"
autoresume="true"
onvideocomplete=""
ath="49.113" atv="8.8597" width="1920" height="1080" rx="4.5" ry="-15" scale="0.453" edge="center"
enabled="false"
/>
Thank you, Klaus. That's how it worked out.![]()
Display MoreHi,
there are two bugs:
1. one bug in krpano - when using the alphachannel=TB/SBS setting with videos, krpano wrong sends an invalid value to WebGL until the video is loaded and ready...
2. and one bug in Chrome - even when the value is invalid, WebGL should silently ignore that invalid value and continue working. That means here the new Chrome release is buggy.
There is already a Chrome Bugreport about this: https://issues.chromium.org/issues/361823993
and it seems that bug was already fixed and there should be soon a new and fixed Chrome release.
The next krpano releases will have this also fixed.
As manual workaround it would be possible to replace this:
alphachannel="TB"
with:
onvideoready.addevent="alphachannel='TB';sourceheight/=2;"This delays the alphachannel setting until the video is ready and so bypasses this bug.
Best regards,
Klaus