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

Iframe progressive enhancement Does not work / is not properly documented #105

Open 0x80085 opened 1 year ago

0x80085 commented 1 year ago

Trying to wrap a SoundCloud iframe using this library but there appear to be 2 problems:

It simply shows a black screen and appears to misinterpret the iframe for what i can see. It logs no errors either, so I have no clue what is going wrong.

example NOT working (access to plyr but no video appears, black screen no errors)


<div class="plyr__video-embed" id="player"
plyr
plyrTitle="Synk"
[plyrPlaysInline]="true"
(plyrInit)="initPlayer($event)"
(plyrEnded)="mediaEnded.next(true)"
(plyrCanPlay)="onCanPlay()"
(plyrLoadedData)="onLoadedData()"
(plyrReady)="onReady()"
(plyrTimeUpdate)="onTimeUpdate($event)"
(plyrError)="onError($event)"
>
  <iframe [src]="(iframeSrc$ | async) | safeUrl" frameborder="0"></iframe>
</div>

Sorta working, but cant control it (plays, but no access to plyr methods)

<div class="plyr__video-embed" id="player" >
  <iframe [src]="(iframeSrc$ | async) | safeUrl" #plyrComp></iframe>
</div>

Also is this thing still maintained?

Thanks

0x80085 commented 1 year ago

Also is this thing still maintained?

After 2 weeks of no answer of anyone - I think it's safe to say this is not maintained

I will look for another way to achieve what I need and remove this bloat lib from my project.