FlowPlayer parameter Description

Source: Internet
Author: User

--<Div>//Simple call< a href  = "flowplayer-700.flv"  style  = "display:block;width:520px;height:330px"  ID  = "Player"  >  </ a  >  <  script ;  flowplayer ("Player"  , "flowplayer-3.2.12.swf" , {clip: {autoplay:false , Autobuffering:true }});  </ Script  >  </ div  >--%> <div> <a href= "flowplayer-700.flv "Style=" Display:block; width:520px; height:330px "id=" player "></a> <script>  flowplayer ("  player  ", "  flowplayer-3.2.12.swf  ", {//Player Master file (can also be referenced according to the project: http://releases.flowplayer.org/swf/ flowplayer-3.2.12.swf)  clip: {
Url:rtmp_name,//stream name /span>
Autoplay:true,//Auto Playautobuffering:true//whether to turn on buffering},
Playlist: [//Playlist{URL:"Notfound.jpg",//The picture is displayed by default (if it does not show the first screen of the video playing)//duration:5,//durationScaling‘Orig'//Zoom}, {URL:‘flowplayer-700.flv‘,//files that need to be playedAutoplay:false, provider:‘http‘, Autobuffering:true}], plugins: {controls: {bottom:0,//function bar distance from the bottomHeight24,//function bar heightZIndex:1, FontColor:‘#ffffff‘, Timefontcolor:‘#333333‘, Playlist:true,//Previous, Next buttonPlay:true,//Start buttonVolume:true,//Volume buttonMute:true,//Mute buttonStop:true,//Stop buttonFullscreen:true,//Full Screen buttonScrubber:true,//progress barUrl:"flowplayer.controls-3.2.12.swf",//Decide the display style of the function bar (the function bar SWF file, according to the project can also refer to: http://releases.flowplayer.org/swf/flowplayer.controls-3.2.12.swf)Time:true,//Whether to display time informationAutohide:true,//Whether the feature bar is automatically hiddenBackgroundColor:‘ #aedaff ' ,//Background color backgroundgradient: [ 0.1 , 0.1 , 1.0 ],// Background color gradient (evenly spaced point gradient) opacity: 0.5 ,//transparency of the function bar borderradius: ' - ' ,//function-bar Corner tooltips: {buttons:true ,//whether the fullscreen: ' fullscreen ' ,//Full screen button, text displayed when the mouse is pointing Stop: ' stop ' , Play: ' start ' , Volume: ' volume ' , mute: ' mute ' , Next: ' next ' , Previous: ' prev ' }}}); </script> </div> </form></body>

The above code from: http://www.cnblogs.com/qidq/archive/2012/07/19/flowplayer.html

The FlowPlayer player can also play rtmp streaming, with the following code:

            <a href= "#" id= "Palyer3" ></a>            <script>                    flowplayer ("palyer3""  player/flowplayer-3.2.8.swf", {clip: {url:rtmp_name,//Stream name 'rtmp', Live:true' player/flowplayer.rtmp-3.2.8.swf', Netconnectionurl:rtmp_path}, controls: {play:false0, Scrubber:false, Volume:false, Mute:false }}); } </script>               

FlowPlayer parameter Description

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.