Safari cannot play videos


Created project for playing video on html5:
Part of code:

// creating and connecting stream, creating new Video …"assets/video/testfile.mp4");

On Chrome, Opera, Firefox all works normal, but Safari cannot play.

Info about video:

codecs=H.264, AAC
format: mp4

How to solve this problem?


PS: After start playing video, Immediately returns NetStream.Play.Stop

Oh, safari can’t load video from local directory