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
精彩评论