Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229654

Ionic 2 youtube player

$
0
0

Hi
Actually I am stuck with my video not working'please can u look at this
in html

 <iframe width="100%" height="315" [src]="videoUrl" frameborder="0" allowfullscreen></iframe>

in ts

this.videoUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(https://www.youtube.com/watch?v=yO7kQQ3YWzY);

error is

Refused to display 'https://www.youtube.com/watch?v=yO7kQQ3YWzY' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
VM2889 main.js:36595 GET https://www.youtube.com/watch?v=yO7kQQ3YWzY net::ERR_BLOCKED_BY_RESPONSE

Viewing all articles
Browse latest Browse all 229654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>