javascript - tinymce how to insert video? - Stack Overflow

Is there a plugin for tinymce to insert a video direct to the editor?jwplayer(id).setup({file: video.hr

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?

Share Improve this question edited Apr 17, 2014 at 10:45 Mayuri 4226 silver badges13 bronze badges asked Apr 17, 2014 at 10:40 user3518675user3518675 1251 gold badge4 silver badges7 bronze badges 4
  • 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
Add a ment  | 

1 Answer 1

Reset to default 5

Yes 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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744087056a4556372.html

相关推荐

  • javascript - tinymce how to insert video? - Stack Overflow

    Is there a plugin for tinymce to insert a video direct to the editor?jwplayer(id).setup({file: video.hr

    8天前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信