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.

1

Friday, September 28th 2018, 4:26pm

Problems with Video integration (Chrome 69?)

I'm beginning to work on integrating some animated panos into our tours and running into some issues with the videos playing.

This link...
https://krpano.com/plugins/videoplayer/source/example.html

Works and plays properly. However, i download the sample code and either run it with the testingserver.exe or upload it to our webserver and run it there, the video apparently loads (shows first frame of video), but does not play.

I'm using Chrome 69 and suspect the problem may be resulting from the browser's new policies regarding auto-playing video buy don't understand why it is working fine on the KRPano site and nowhere else.

EDIT 1: I actually noticed that the video will play on the krpano site when the link is clicked but if the URL is refreshed or "copy and pasted" into the address bar, it exhibits the same frozen behavior. Something weird is going on.

EDIT 2: If I create web page with an href that links to the example.html on our webserver, the video plays properly. The goal here is to have video panos replace regular photo panos in some instances so I'm not sure yet how this is going to play out or if a work-around is possible.


EDIT 3: After working on this all day, it seems setting "muted="true" allows the video to play automatically. Is there a known workaround for video with sound?


This post has been edited 4 times, last edit by "bhh" (Sep 28th 2018, 11:16pm)


Luca Vascon

Beginner

Posts: 9

Location: Venice, Italy

Occupation: VR under any aspect

  • Send private message

2

Wednesday, October 3rd 2018, 6:11pm

SAME problem here

3

Thursday, October 4th 2018, 10:42am

Hi,

that's related to the Chrome autoplay changes for Desktop.
For videos with sound an user-interaction like a click will be necessary to allow the playing.

EDIT 1: I actually noticed that the video will play on the krpano site when the link is clicked but if the URL is refreshed or "copy and pasted" into the address bar, it exhibits the same frozen behavior. Something weird is going on.
That's how Chrome is working, that's not related to krpano.

In the next krpano release the 'autoplay-workarounds' from mobile (like waiting for the first click/touch anywhere to start automatically an autoplay-blocked video) will be also available for desktop. In the 'open-source' plugin version from above you could also try adding that yourself.

Best regards,
Klaus