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
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744087056a4556372.html
评论列表(0条)