admin 管理员组文章数量: 1086019
Is there a plugin for tinymce to insert a video direct to the editor?
jwplayer(id).setup({
file: video.href,
image: video.img,
title: video.title,
width: '640',
height: '360',
primary: 'flash',
aspectratio: '16:9'
});
or how to insert a jwplayer
into the editor directly , does anyone has did this?
Is there a plugin for tinymce to insert a video direct to the editor?
jwplayer(id).setup({
file: video.href,
image: video.img,
title: video.title,
width: '640',
height: '360',
primary: 'flash',
aspectratio: '16:9'
});
or how to insert a jwplayer
into the editor directly , does anyone has did this?
- Which version of TinyMCE are you using? 3.x series or 4.x? – Chankey Pathak Commented Apr 17, 2014 at 10:46
- @ChankeyPathak, 4x tinymce...I want to insert the jwplayer programmatically to the editor, or any other plugin if its possible, for example I click a button(whereas have a link to the video) and then it appears in the editor....as, but the problem is that jwplayer is not inserting as html, it executes as javascript, i can't find examples for this... – user3518675 Commented Apr 17, 2014 at 10:50
- Check this: stackoverflow./questions/1839345/jwplayer-and-tinymce – Chankey Pathak Commented Apr 17, 2014 at 11:07
- tiny.cloud/docs/tinymce/6/media – Jose Manuel Abarca Rodríguez Commented Feb 13, 2023 at 19:30
1 Answer
Reset to default 5Yes there is:
You can use the media
plugin.
tinymce.init({
plugins: "media"
});
This plugin adds the ability to add HTML5 video and audio elements to TinyMCE.
Also check out TinyMce-JwPlayer-plugin
本文标签: javascripttinymce how to insert videoStack Overflow
版权声明:本文标题:javascript - tinymce how to insert video? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1744087058a2531325.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论