Issue Details (XML | Word | Printable)

Key: SAK-15523
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Beth Kirschner
Reporter: Nuno Fernandes
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Sakai

Add Movie plugin to FCKEditor

Created: 27-Jan-2009 05:00   Updated: Yesterday 08:43 AM
Component/s: Reference
Affects Version/s: 2.4.0, 2.4.1, 2.5.0, 2.5.2, 2.5.3, 2.5.4, 2.5.x, 2.6.x, 2.6.0
Fix Version/s: 2.7.0-b01

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive movieplayer-fckeditor-plugin.zip (33 kB)
2. Text File trunk-kernel-FormattedText.patch (3 kB)
3. Text File trunk-reference-configjs.patch (2 kB)
4. Text File trunk-textarea.patch (1.0 kB)

Issue Links:
Depend
 
Relate
 

2.7.x Status: Resolved
2.6.x Status: None
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
Add Movie plugin to FCKEditor.

I have developed a movie player plugin for FCKEditor for use in Sakai. It supports FLV, AVI and MOV. It requires patching of:
- reference/library/src/webapp/editor/FCKeditor/config.js (to insert plugin in toolbars)
- textarea/FCKeditor/connector/src/java/org/sakaiproject/connector/fck/FCKConnectorServlet.java (to allow "Media" type)
- kernel/kernel-util/src/main/java/org/sakaiproject/util/FormattedText.java (to allow required tags/attributes) (in 2.5.x this in util/)

(requires SAK-13556 applied)

I have already a working version, tested on 2.6.x and trunk and will soo attach patches and movie plugin files to this JIRA.

 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Nuno Fernandes added a comment - 27-Jan-2009 07:27
Added patches (trunk/2.6.x compatible)

Nuno Fernandes added a comment - 27-Jan-2009 07:27
Added movie plugin (trunk/2.6.x compatible)

Brice Favre added a comment - 29-May-2009 05:51
Hello,

I just downloaded your plugin and it is great and better than a lot of much more complicated plugins.

I made some correction and include a way to play mp3 files. I can send the modification if you want. Contact me.

Mike Ozornin added a comment - 24-Jun-2009 09:05
Need I patch kernel or it's enough to patch only Sakai to view your plugin?

Nuno Fernandes added a comment - 25-Jun-2009 01:15
You will need to apply the four patches to have the FCKEditor Movie Plugin - Kernel patch is needed to add support in the editor for tags like "<param>" or "< codebase>".

Beth Kirschner added a comment - 11-Jan-2010 13:20
Patch applied -- thanks!

Nuno Fernandes added a comment - 12-Jan-2010 01:28
GREAT!!!

Beth Kirschner added a comment - 15-Jan-2010 08:13
Added to list of 'good' attributes:
- allowfullscreen - commonly used in YouTube embed videos
- allowscriptaccess - enables a flash video to invoke javascript in the containing HTML, but since we disallow javascript in the containing HTML, I'm allowing this parameter so as not to confuse users who simply want to cut-n-paste from YouTube embed URLs

Erica Ackerman added a comment - 18-Jan-2010 06:57
Tested on nightly2 8082

Beth Kirschner added a comment - 18-Jan-2010 07:08
Merged to 2.7.x

Nuno Fernandes added a comment - 08-Feb-2010 08:43
Verified as working in qa1-nl (2.7.0-b02)