简体   繁体   中英

HTML5 video fallback - can't play video files in flash player locally

having a bit of a problem here that I cannot get my head around. I'm creating what is essentially an offline website which has various questions and videos which answer them. I have my videos in various formats to work on all browsers, mp4, ogv & webm.

I have been using the video for everyone generator to create my player, and that works fine. My flash fallback however for IE8 which doesn't support the <video> tag won't play my local files.

Here is my fallback code - housed inside my <video></video> element.

<object type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" width="640" height="360">
    <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
    <param name="allowFullScreen" value="true" />
    <param name="wmode" value="transparent" />
    <param name="flashVars" value="config={'playlist':[{'url':'..%2Fklacid%2Fvideos%2FMcGeer%2Fmp4%2FMc_7.mp4','autoPlay':false}]}" />
    <span title="No video playback capabilities, please download the video below"></span>
</object>

What is very strange is if I upload this video to my web server, and link it across - it will work fine.

Any solutions? Any advice would be greatly appreciated.

Jamie

If it's only for local access, you must choose in the FLA's Publish Settings the Option Access local files only for Local playbac security.

For more information: http://www.senocular.com/pub/adobe/Flash%20Player%20Security%20Basics.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM