Question

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?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top