开发者

video not found or access denied when playing .flv file

i have used .flv file my code is:

<script type="text/javascript">
    va开发者_开发技巧r playerFlv = new SWFObject(path + 'player.swf', "Player", "500", "350", "9");
                playerFlv.addVariable('allowfullscreen', 'true');
                playerFlv.addVariable("allowscriptaccess", "always");
                playerFlv.addVariable("enableJavascript", "true");              
                playerFlv.addVariable("image", path + Image);
                playerFlv.addVariable("file", path + 'VideoFile/' + video);
                playerFlv.write("playerview");
</script>


Make sure to add the .flv Extension to your Mime Types in IIS it should be: video/x-flv

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜