• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flash IOS StageWebView has no sound

Explorer ,
Jun 24, 2014 Jun 24, 2014

Copy link to clipboard

Copied

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.

Views

377

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jun 29, 2014 Jun 29, 2014

It seems that my video does not have a sound on ipad 2 but when I plugged my earphone it works well. I tested it on ipad air and everything works fine.

Votes

Translate

Translate
Explorer ,
Jun 29, 2014 Jun 29, 2014

Copy link to clipboard

Copied

LATEST

It seems that my video does not have a sound on ipad 2 but when I plugged my earphone it works well. I tested it on ipad air and everything works fine.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines