ueditor插入flv视频

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Nothinglv/article/details/51133163

ueditor插入flv视频,文件上传成功,客户端无法显示:

浏览器兼容问题。

在chrome中,直接编辑成media标签,media不支持.flv格式。

在ie中使用flowplayer将media标签转化成object,即可播放。ie8亲测,有效。

等价于:

<html>
<body>
<object height=400 width=500 align=center classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 item='24394746_3939749829_music'>
<param name='URL' value='C:/Users/Administrator/Desktop/test.flv' /> 
<param name='rate' value='1' />
<param name='balance' value='0' />
<param name='currentPosition' value='0' />
<param name='defaultFrame' value='' />
<param name='playCount' value='1' />
<param name='autoStart' value='-1' />
<param name='currentMarker' value='0' />
<param name='invokeURLs' value='-1' />
<param name='baseURL' value='' />
<param name='volume' value='50' />
<param name='mute' value='0' />
<param name='uiMode' value='full' />
<param name='stretchToFit' value='0' />
<param name='windowlessVideo' value='0' />
<param name='enabled' value='-1' />
<param name='enableContextMenu' value='-1' />
<param name='fullScreen' value='0' />
<param name='SAMIStyle' value='' />
<param name='SAMILang' value='' />
<param name='SAMIFilename' value='' />
<param name='captioningID' value='' />
<param name='enableErrorDialogs' value='0' />
<param name='_cx' value='13229' />
<param name='_cy' value='10583' />
</object>
</body>
</html>

展开阅读全文

没有更多推荐了,返回首页