Flash Player in HTML plays video in m3u8 format

Source: Internet
Author: User

m3u8 TEST

<!DOCTYPE HTML><HTML><Head><title>m3u8 TEST</title></Head><Body><DivID= "Player"></Div></Body></HTML>
HTML code
<script src= "Lib/swfobject.js" ></script><script>varFlashvars = {        //m3u8 URL, or any other URL which compatible with SMP player (FLV, MP4, f4m)        //escaped it for URLs with ampersandsSrc:escape ("Jeter.mp4"),        //URL to OSMF HLS Plugin        //plugin_m3u8: "hlsproviderosmf.swf", CSS1plugin_m3u8: "Hlsdynamicplugin.swf"    }; varparams = {        //self-explained ParametersallowFullScreen:true, allowScriptAccess:"Always", bgcolor:"#000000"    }; varAttrs ={name:"Player"    }; swfobject.embedSWF (//URL to SMP player"Strobemediaplayback.swf",        //Div ID where player is place"Player",        //width, height"800", "485",        //minimum Flash Player version required"10.2",        //Other parameters        NULL, Flashvars, params, attrs);</script>
JS Code

Player necessary files (e.g.. swf file, etc.): http://blog.denivip.ru/index.php/2013/05/osmf-hls-plugin/?lang=en

Note: If your player cannot play m3u8 linked video, try this player to play the local MP4 video. If the MP4 can play, then it means the player is working. This can not play the problem in the m3u8 video is located on the server, Flash cross-domain problem, crossdomain.xml is this file, changed to "*" on it.

Flash, I quickly think about the Flash Player style problem go or, for as fart don't understand.

Flash Player in HTML plays a video in m3u8 format

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.