You are not logged in.

1

Thursday, March 26th 2015, 3:38pm

Making an ajax request POST to AP on video play

Hi all!


I'm sharing flash krpano on facebook. I want to track view counts when the user clicks play. Is there anyway to make a POST to my custom API when this occurs? How do I get started?

Thanks!

2

Friday, March 27th 2015, 10:48am

Hi,

there is no API inside krpano yet to make url requests.

Best regards,
Klaus

3

Friday, March 27th 2015, 3:15pm

Thanks Klaus!


Is there anyway to create a custom plugin and do this? I'm guessing this is what the Google Analytics plugin is doing?

http://krpano.com/plugins/userplugins/googleanalytics/#top

4

Friday, March 27th 2015, 9:09pm

I've figured out how to do this myself. This was easy to do by making a plugin and making a remote call on the first video play.