kindeditor 4.1.10 上传的flash不能显示问题
2014-05-27 11:23
232 查看
首先要谢谢http://zlboy888.blog.163.com/blog/static/31535707201332521627729/ 这位哥的共享,
我按照他的提示做了,可是不行,我用的版本是version 4.1.10 (2013-11-23),
1: 由于我用的是jquery
的框架所以把他集成进去,在提交form时首先是用$(document.getElementsByTagName('iframe')[0].contentWindow.document.body).html()得到kindeditor中的内容,可是得到的却是<IMG WIDHTI=‘’ height='' data-ke-tag='+%26lt%3bEMBED+id%3dplayer+height%3d400+name%3dplayer+type%3dapplication%2fx-shockwave-flash+width%3d550+src%3dscripts%2fkindeditor%2fplugins%2fjwplayer%2fplayer.swf+quality%3d%26quot%3bhigh%26quot%3b+flashvars%3d%26quot%3bfile%3d%2fzbsw%2fattached%2fflash%2f20140526%2f20140526122125_726.flv%26quot%3b+allowfullscreen%3d%26quot%3btrue%26quot%3b+allowscriptaccess%3d%26quot%3balways%26quot%3b%26gt%3b'/>这个是kindeditor为了显示好看在kindeditor中做的一个图片替换flash,不是我想要的结果。可以通过 editor1.html()得来想要的结果<embed
id="player" allowscriptaccess="always" allowfullscreen="true" height="400" type="application/x-shockwave-flash" width="550" src="scripts/kindeditor/plugins/jwplayer/player.swf" flashvars="file=/zbsw/attached/flash/20140526/20140526122125_726.flv" quality="high"
/>
2:flashvars
这个属性不能带到embed标签里去,还有allowfullscreen这个属性也不能,很是郁闷,为什么他自己定义的属性就可以带去,我增加的带不去。
最后看了源码kindeditor.js 发现有个东东,embed
: ['id', 'class', 'src', 'width', 'height', 'type', 'loop', 'autostart', 'quality', '.width', '.height', 'align', 'allowscriptaccess'], 这个东东很重要,kindeditor通过他来过滤属性的不在里面定义是不会带进去的。所以我把
'flashvars','allowfullscreen'这两个属性加进入去就OK了。
我按照他的提示做了,可是不行,我用的版本是version 4.1.10 (2013-11-23),
1: 由于我用的是jquery
的框架所以把他集成进去,在提交form时首先是用$(document.getElementsByTagName('iframe')[0].contentWindow.document.body).html()得到kindeditor中的内容,可是得到的却是<IMG WIDHTI=‘’ height='' data-ke-tag='+%26lt%3bEMBED+id%3dplayer+height%3d400+name%3dplayer+type%3dapplication%2fx-shockwave-flash+width%3d550+src%3dscripts%2fkindeditor%2fplugins%2fjwplayer%2fplayer.swf+quality%3d%26quot%3bhigh%26quot%3b+flashvars%3d%26quot%3bfile%3d%2fzbsw%2fattached%2fflash%2f20140526%2f20140526122125_726.flv%26quot%3b+allowfullscreen%3d%26quot%3btrue%26quot%3b+allowscriptaccess%3d%26quot%3balways%26quot%3b%26gt%3b'/>这个是kindeditor为了显示好看在kindeditor中做的一个图片替换flash,不是我想要的结果。可以通过 editor1.html()得来想要的结果<embed
id="player" allowscriptaccess="always" allowfullscreen="true" height="400" type="application/x-shockwave-flash" width="550" src="scripts/kindeditor/plugins/jwplayer/player.swf" flashvars="file=/zbsw/attached/flash/20140526/20140526122125_726.flv" quality="high"
/>
2:flashvars
这个属性不能带到embed标签里去,还有allowfullscreen这个属性也不能,很是郁闷,为什么他自己定义的属性就可以带去,我增加的带不去。
最后看了源码kindeditor.js 发现有个东东,embed
: ['id', 'class', 'src', 'width', 'height', 'type', 'loop', 'autostart', 'quality', '.width', '.height', 'align', 'allowscriptaccess'], 这个东东很重要,kindeditor通过他来过滤属性的不在里面定义是不会带进去的。所以我把
'flashvars','allowfullscreen'这两个属性加进入去就OK了。
相关文章推荐
- ASP.NET网站中用到一个FlashUpload上传控件服务器上Flash就不能正常显示 axd映射问题
- kindeditor-4.1.10解决上传图片之后全屏显示问题?
- 关于asp.net模板页(MasterPage)不能根据相对路径显示flash的问题
- [转]解决Linux下Firefox Flash文字乱码或不能显示的问题
- tomcat容器 SSH项目开发 上传图片图片名为中文时不能显示图片问题解决
- Ueditor图片上传设置(1.4.3 JSP版本) - 解决图片不能显示问题
- 解决ubuntu下Firefox Flash文字乱码或不能显示的问题
- ChinaJoy的Flash四屏焦点图不能正常显示问题
- 解决Chrome在部分网站不能弹出上传文件对话框的办法及flash问题
- 解决Chrome在部分网站不能弹出上传文件对话框的办法及flash问题
- Ubuntu下Firefox Flash文字乱码或不能显示的问题
- c# asp.net 使用kindeditor在服务器上不能显示上传图片的页面等解决办法
- 解决ubuntu下Firefox Flash文字乱码或不能显示的问题
- FusionCharts flash中文问题,X 轴正常,Y轴不能显示中文
- [转]解决Linux下Firefox Flash文字乱码或不能显示的问题
- [转]解决Linux下Firefox Flash文字乱码或不能显示的问题
- 本地运行FlashPlayer访问本地文件的设置 / 本地运行flash不能正常显示问题(转http://hi.baidu.com/slzs_zyt/blog/item/c8a40697aa45ac6354fb9630.html)
- 在网页中插入flash的时候能在IE中显示但是不能在火狐里显示的问题
- KindEditor 4.1.10 (2013-11-23)首行空格不能显示在编辑器内
- 修复 IE10 不能显示flash的问题