ng-youtube-embed
ng-youtube-embed copied to clipboard
playlist parameter not accepting scope variables
<ng-youtube-embed flex="100" flex-gt-xs="70" video="movie.YouTubeVideo" playlist="movie.YouTubePlaylist"> </ng-youtube-embed>
When using the tag as shown above, the scope variable gets read as a string literal. The url generated shows this:
https://www.youtube.com/embed/dzxFdtWmjto?enablejsapi=0&autoplay=0&cc_load_policy=0&color=red&controls=1&disablekb=0&fs=1&iv_load_policy=1**&playlist=movie.YouTubePlaylist**&playsinline=0&rel=1&showinfo=1&modestbranding=0&origin=https://jrauch2.bitlampsites.com
Try using playlist="{{movie.YouTubePlaylist}}"
.