Skip to content

JIEgOKOJI/TinyMce-JwPlayer-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

version
========
this version is working with tinymce 3.5.x and jwplayer 5
more infos about jwplayer options here : http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12536/configuration-options
only some essential options are ported.

description
============
this plugin is made to be able to insert the jwplayer from http://www.longtailvideo.com/ with the wysiwyg editor tinymce from http://www.tinymce.com/

installation
=============
copy the folder inside your tinymce plugins folder.

if the tinymce plugin is located at :
/js/tinymce/jscripts/tiny_mce/plugins/jwplayer/editor_plugin.js

the flash player should be located at :
/js/jwplayer/player.swf

how to use it with Drupal
==========================
load the jwplayer.js file with your theme

and add this :

'jwplayer' => array(
  'path' => $editor['library path'] . '/plugins/jwplayer',
  'buttons' => array('jwplayer' => t('JwPlayer')),
  'url' => 'http://ssm2017.com',
  'internal' => TRUE,
  'load' => TRUE,
),

in the wysiwyg_tinymce_plugins function (file sites/all/modules/wysiwyg/editors/tinymce.inc)

known issue with Drupal wysiwyg : problem with the "line break" plugin that is killing my code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published