码迷,mamicode.com
首页 > Web开发 > 详细

网页视频播放器插件源码

时间:2015-05-21 12:36:12      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:

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>

  

技术分享

网页视频播放器插件源码

标签:

原文地址:http://www.cnblogs.com/good10000/p/4519140.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!