title: DomSanitizer throwing an error
body: <p>I am trusting the URL with.. DomSanitizer as below:</p>
  
  <pre><code>myFunction(videoLoc:any):void { 
      videoLoc = this.sanitizer.bypassSecurityTrustResourceUrl(videoLoc); 
  }
  </code></pre>
  
  <p>but getting an error on console:</p>
  
  <blockquote>
    <p>GET unsafe:myFunction(<a href="https://www.youtube.com/watch?v=c9F5kMUfFKk" rel="nofollow noreferrer">https://www.youtube.com/watch?v=c9F5kMUfFKk</a>)</p>
  </blockquote>
  
  <p>My HTML code is as below:</p>
  
  <pre><code>&lt;tr *ngFor="let fetch of fetchApi.data.featured"&gt;
    &lt;td&gt;
       &lt;video width="320" height="240" controls&gt;                                                                                                                                              
       &lt;source src=myFunction({{fetch.video_location}})&gt;
       &lt;/video&gt;
    &lt;/td&gt;                                                                                                                                                                                                                                                                                                                                     
  &lt;/tr&gt; 
  </code></pre>
  
  <p>That is the reason, I could not render my videos on an HTML page. What is the mistake that I am doing?</p>