my Page web.html has a iframe like this :
`
import { NavController, NavParams } from ‘ionic-angular’;
import { DomSanitizer } from ‘@angular/platform-browser’;
@Component({
selector: ‘page-web’,
templateUrl: ‘web.html’
})
export class WebPage {
title: string;
srcUrl: any;
constructor(public navCtrl: NavController,public navParams: NavParams, private sanitizer: DomSanitizer) {
}
ionViewDidLoad(){
this.title = this.navParams.get(‘title’);
this.srcUrl = this.sanitizer.bypassSecurityTrustResourceUrl(this.navParams.get(‘url’));
console.log(‘url=’ + this.srcUrl);
console.log(‘title=’ + this.title);
}
}`
srcUrl is passed from previous page like:
this.srcUrl = ’ http://m.v.6.cn/live/u1?src=ummeda5263&forceback=1’;
And then ,the video like this is no sounds or too small sounds on iphone.
However,Android is fine.
Please help me ,Thanks.