网页视频播放器插件源码

1、ckplayer插件视频播放器

技术分享

2、Flash插件播放器

<object type="application/x-shockwave-flash" data="video/vcastr3.swf" width="800" height="454" id="vcastr3">
                    <param name="movie" value="video/vcastr3.swf" /> 
                    <param name="allowFullScreen" value="true">
                    <param name=“menu” value=“true” />
                    <param name=“bgColor” value="#ff6600" />
                    <param name="FlashVars" value="xml=
                    <vcastr>
                        <channel>
                            <item>
                                <source>http://xx.resource.good321.net/res/video/xxmov3.flv</source>
                                <duration></duration>
                                <title></title>
                            </item>
                        </channel>
                        <config>
                            <bufferTime>4</bufferTime>
                            <contralPanelAlpha>0.75</contralPanelAlpha>
                            <controlPanelBgColor>0x000000</controlPanelBgColor>
                            <controlPanelBtnColor>0xffffff</controlPanelBtnColor> 
                        <contralPanelBtnGlowColro>0xffffff</contralPanelBtnGlowColro>       
                            <controlPanelMode>float</controlPanelMode>
                            <defautVolume>0.7</defautVolume>
                            <isAutoPlay>true</isAutoPlay>
                            <isLoadBegin>true</isLoadBegin>
                            <isShowAbout>true</isShowAbout>
                            <scaleMode>noScale</scaleMode>
                            <isRepeat>true</isRepeat>
                        </config>
                    </vcastr>" />
                </object>

  

 

技术分享

 3、Flash插件播放器

<object type="application/x-shockwave-flash" data="video/vcastr3.swf" width="600" height="338" id="vcastr3">
    <param name="movie" value="video/vcastr3.swf"/>
    <param name="allowFullScreen" value="true" />
    <param name="FlashVars" value="xml=
				<vcastr>
					<channel>
						<item>
                            <source>http://xx.resource.good321.net/res/video/xxmov3.flv</source>
							<duration></duration>
							<title></title>
						</item>
					</channel>
					<config>
						<bufferTime>4</bufferTime>
						<contralPanelAlpha>0.75</contralPanelAlpha>
						<controlPanelBgColor>0xff6600</controlPanelBgColor>
						<controlPanelBtnColor>0xffffff</controlPanelBtnColor>
						<contralPanelBtnGlowColro>0xffff00</contralPanelBtnGlowColro>
						<controlPanelMode>normal</controlPanelMode>
						<defautVolume>0.7</defautVolume>
						<isAutoPlay>true</isAutoPlay>
						<isLoadBegin>true</isLoadBegin>
						<isShowAbout>true</isShowAbout>
						<scaleMode>showAll</scaleMode>
						<isRepeat>true</isRepeat>
					</config>
				</vcastr>"/>
  </object>

  

技术分享

 4、html5 video播放器

技术分享

5、Flash插件播放器

<object type="application/x-shockwave-flash" data="flashfox.swf" width="592" height="252">
  <param name="movie" value="flashfox.swf">
  <param name="allowFullScreen" value="true">
  <param name="wmode" value="transparent">
  <param name="flashVars" value="autoplay=true&controls=true&src=http://www.100sucai.com/img/video/happyfit2.mp4">
  <embed src="flashfox.swf" width="592px" height="252px" flashvars="autoplay=true&controls=true& src=http://www.100sucai.com/img/video/happyfit2.mp4" allowfullscreen="true" wmode="transparent" type="application/x-shockwave-flash"> 
  <img alt="happyfit2" src="screen.jpg" width="592" height="252" title="Video playback is not supported by your browser">
</object>

  

技术分享

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。