smnbbrv / ngx-plyr

Angular 6+ binding for Plyr video & audio player
https://smnbbrv.github.io/ngx-plyr/
MIT License
100 stars 65 forks source link

setPlaybackRate is not working. Changing video's speed is not working. #71

Open ImrozCinchy opened 3 years ago

ImrozCinchy commented 3 years ago

I am using Angular 10 and ngx-plyr 4.0.0 and plyr 3.6.3 When I am adding Google Tag Manager scripts to my project I start receiving below error: image

So whenever I try to change the speed of the video, it brings out the same error in console and there is no change in speed of the video.

This is how I am using the plyr in HTML

<div class="mb-20" plyr [plyrTitle]="selectedVideoDetails.title" [plyrSources]="vimeoSources" [plyrOptions]="plyrOptions"></div>

Where vimeoSources is [{ src: 'Some vimeo url', provider: 'vimeo' }]

and plyrOptions: Plyr.Options = {fullscreen : {enabled: true, fallback: true, iosNative: true, allowAudio: true}};