App connect Video picture in picture mode

Hi there. App connect video is great. Trying to figure out how to activate the (picture in picture) mode (is when the video continues to play on the right bottom) on scroll. The functionality is there and can be activated from the video player control. I just want to trigger this functionality on scroll.

Thank you!

Hey Niko,
Do you have an example of what are you trying to achieve?

The video loads and plays. As you continue to scroll down the video moves to the lower right side. This functionality exists on the Appconnect video. Just want to triger it when scrolling away from the video. I mean there is a ‘picture in picture’ mode already. Just want to trigger it when video is not visible on the screen

Ah, i see - well, it’s not a feature of the player itself but a feature of the browser.
Not all major browsers support this feature though:

https://caniuse.com/#feat=picture-in-picture

ok thank you. I will check it out!

You will need some custom js function to do this.
Here are some resources on using/activating this feature:

https://html.spec.whatwg.org/multipage/interaction.html#triggered-by-user-activation

https://wicg.github.io/picture-in-picture/#request-pip

1 Like

Thanks. I’ve never seen this feature before - I didn’t know it existed, but here’s an example. It seems surprising a browser can do this (at least if you use Chrome).

1 Like