ueditor插入flv視訊

ElaineCuger發表於2016-04-12

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>

相關文章