#2251·plyr

Plyr Player-in-Player for Vimeo, support from player.js since Oct 2020.

Author: StephanLuisCreated Jun 24, 2021Updated Mar 4, 2026

In issue 1480 about PiP @sampotts says PiP for Vimeo will be possible once it's supported via Vimeo's player.js.

As of Oct last year, player.js does support PiP. According to this vimeo issue, there is a requirement of "pip: 1 option in the Vimeo.Player() constructor or with a URL param pip=1. e.g."

I've set that up const player = new Plyr(selector, { vimeo: { referrerPolicy: 'no-referrer', pip: 1,},});

However after setting the .embed.getPictureInPicture() however it results in a 'user gesture' error.

Is it now possible for Plyr to implement the Vimeo API for PiP? What is required ?

Originally posted by @sampotts in https://github.com/sampotts/plyr/issues/1480#issuecomment-506549873