Skip to content
This repository was archived by the owner on Dec 28, 2022. It is now read-only.

picture-in-picture not working for youtube videos #61

Open
lingaraja90 opened this issue Sep 29, 2020 · 0 comments
Open

picture-in-picture not working for youtube videos #61

lingaraja90 opened this issue Sep 29, 2020 · 0 comments

Comments

@lingaraja90
Copy link

I am using ngx-plyr to embed youtube videos into my project. Here pip is not working for youtube providers.

My Code:

<plyr #plyr style="width: 100%;" [plyrSources]="videoSources" (plyrInit)="initPlayer($event)" (plyrEnded)="end($event)">

this.videoSources = [
{
src: 'Some youtube src',
provider: 'youtube',
},
];

If I pass below video source, pip is working.

this.videoSources = [
{
src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-576p.mp4',
type: 'video/mp4',
},
];

Can you tell me how can I add pip for youtube video source?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant