In a component I'd like to show video from an external video-service. The 
video-service gave me a "<script>"-tag (with an externel source) to use it 
in my html where the video should be shown. I didn't get it :(

First I tried it with the *Renderer2* - creating a "script"-element and 
appent it to an element in the component. In the inspector I can see the 
script-element, but it wasn't executed - there was no request to the 
external src (no entry in network).

Than I tried it with *Pipe* and *sanitizer.bypassSecurityTrustHtml()*. But 
I got the same result - I can see it in the inspector, but the external 
source wasn't loaded.

Has anybody of you the same problem and solved it?  Or can give me same 
help? I tried out so much example from google, but nothing works.

Thank you,
Stephan

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/345fb014-e52f-4392-8f67-6b5d1a984e10%40googlegroups.com.
  • [AngularJS] [Angula... 'Stephan Fischer' via Angular and AngularJS discussion

Reply via email to