I'm working on a section of a website where I'm displaying the name, playlist and mixcloud widget(iframe) of the song. I can inject the title and playlist successfully form JSON but when I inject the src of the iframe code, the player doesn't show up.
this is my JSON Data:
$scope.tracks =[
{title:'Group Therapy 150 with Above & Beyond and Maor Levi', date: new Date(), link:"https://www.mixcloud.com/widget/iframe/?embed_type=widget_standard&embed_uuid=a38e8d96-7372-430b-91b3-7549a408ac7c&feed=https%3A%2F%2Fwww.mixcloud.com%2FPlayLifePodcast%2Fdj-nyk-play-life-podcast-003%2F&hide_cover=1&hide_tracklist=1&replace=0"}
];
this is the place where I'm injecting the code:
<div id="wrapper">
<h1>{{track.title}}</h1>
<iframe width="100%" height="180" ng-src="{{track.link}}" frameborder="0"> </iframe>
</div>
I'm using the similar static iframe on my website here: www.playlifeproject.com and the player shows up normally.
the working iframe code on my website is this:
<iframe width="100%" height="180" src="https://www.mixcloud.com/widget/iframe/?embed_type=widget_standard&embed_uuid=a38e8d96-7372-430b-91b3-7549a408ac7c&feed=https%3A%2F%2Fwww.mixcloud.com%2FPlayLifePodcast%2Fdj-nyk-play-life-podcast-003%2F&hide_cover=1&hide_tracklist=1&replace=0" frameborder="0"></iframe>
Thank you for your time, any help is appreciated.