safeurl angular code example
Example: trim unsafe url dom sanitizer
<iframe class="myVideoClass" [src]="checkUrl(item.videoUrl)" frameborder="0" allow="encrypted-media" allowfullscreen="true" allowscriptaccess="always"></iframe>
<iframe class="myVideoClass" [src]="checkUrl(item.videoUrl)" frameborder="0" allow="encrypted-media" allowfullscreen="true" allowscriptaccess="always"></iframe>