I ask, why do I embed the video as a hot spot to the scene, there is a black line around the video (html5)
Hurry, thank you!
I ask, why do I embed the video as a hot spot to the scene, there is a black line around the video (html5)
Hurry, thank you!
Hi,
the css3d transformed rendering of the video depends on the browser itself.
Which browser and system are you using?
Best regards,
Klaus
Hi, Klaus
I use win7 system, firefox browser and Google browser testing, using the. MP4 format video, you can see on firefox, also in chrome black border point, why the black border around there, mac's safari?
Thanks,
Cheen
Hi,
are you sure that there is no black border in the video itself?
Several video encoders are rounding the video sizes up to by 4/8 or 16 dividable sizes and filling the new space with black color...
But the fault can be also on the side of the browser - when the browser is rendering or decoding the video this way, there is no much can what could be done from script side...
Best regards,
Klaus
I had this problem and fixed it by setting the background-color css property of the html5 video element to 'transparent'.
By default it is styled to black (rgb(0,0,0)) which causes the black lines to appear in some browsers.
In your css you need to apply the following style to any video element nested within your krpano div.
Although this is an old post I thought this reply may help other users who have this problem...
Hi,
thanks for that hint!
I will add that directly to the videoplayer.js in the next release.
Best regards,
Klaus
Don’t have an account yet? Register yourself now and be a part of our community!