Quantcast
Channel: Adobe Community : Popular Discussions - Using Flash Builder
Viewing all articles
Browse latest Browse all 70427

Flash IOS StageWebView has no sound

$
0
0

Hi guys,

 

I would like just to ask if you have encountered rendering an html5 with video tag on your air application and ending up with no sound.

I'm just wondering because when a deployed it on my ipad, the video works perfectly but theres no sound playback.

 

I hope you could help me guys. I'm already in pain for the past 2 days.

 

Heres my code:

protected function onAddedToStage(evt:Event):void

  {

       var webView = new StageWebView();

       webView.stage = this.stage;

       webView.viewPort = new Rectangle( 0, 0, 500, 400);

       var path:String = new File(new File("app:/html/test.html").nativePath).url;

       webView.loadURL(path);

}

 

html file:

<html>

<head>

<title>Test</title>

</head>

<body>

  <video width="500" height="500" controls>

   <source src="Eh_1.mp4" type="video/mp4">

  Your browser does not support the video tag.

  </video>

 

 

</body>

</html>

 

Thank you so much guys.


Viewing all articles
Browse latest Browse all 70427

Trending Articles



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