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

Not able to play local flv file using NetStream with IE browser with Flash player ver 25

New Here ,
Jun 29, 2017 Jun 29, 2017

I wrote a flv player with ActionScript 3.0. The flv file is loaded using NetStream, like below:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);

videoDisplay.attachNetStream(ns);

ns.play("test.flv");

The generated flv player works fine while testing in Adobe Animate CC, also works fine in standalone flash player application. But the flv is not played in html file in IE browser with flash player 25 (it is working with flash player 17), the html file is like below:

<div id="player">

  <object type="application/x-shockwave-flash" data="flvplayer.swf" width="640" height="480">

   <param name="movie" value="flvplayer.swf" />

  </object>

</div>

Is there any one has met same issue?

TOPICS
ActionScript
703
Translate
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
Community Expert ,
Jun 29, 2017 Jun 29, 2017

test with a different browser or upload and post a link to your (swf's) embedding html.

Translate
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
New Here ,
Jun 30, 2017 Jun 30, 2017

I uploaded a sample, running sample.htm, it can play test.flv in the package.

https://pan.baidu.com/s/1pLocrcJ

Translate
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
Community Expert ,
Jun 30, 2017 Jun 30, 2017

again, test with a different browser or upload and post a link to your (swf's) embedding html.

the latter would be something like http://www.kglad.com/index.html

Translate
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
New Here ,
Jul 02, 2017 Jul 02, 2017

Thanks kglad for your update.

I tested IE 8, IE 10, IE 11, and FireFox, the issue is the same.

The issue is related to play a local flv file, not play a flv file from Network (from Network and using http, it is working fine). So it has no meaning to post a link of any html sample and test it from there.

I attached the sample, the issue can be reproduced by open the htm file locally with browser.

Translate
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
New Here ,
Jul 05, 2017 Jul 05, 2017
LATEST

One complement: it is working in Internet Explore with Adobe Flash player till version 22, but from 23 it is not working.

Translate
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