--<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