Skip to main content
Participant
June 29, 2017
Question

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

  • June 29, 2017
  • 5 replies
  • 747 views

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?

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

kglad
Community Expert
Community Expert
June 29, 2017

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

rtao2002Author
Participant
June 30, 2017

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

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

kglad
Community Expert
Community Expert
June 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