#54 EmbedMovies

open
nobody
None
5
2006-06-22
2006-06-22
mrLobo
No

A plugin to embed movies inside your document.
Currently not very advanced, but functional.

Discussion

  • mrLobo
    mrLobo
    2006-06-22

    fckEmbedMovies version 0.1

     
  • rodes
    rodes
    2006-09-21

    Logged In: YES
    user_id=1541130

    I have to put some code in the fckconfig.js?? How do i
    config this script??

    Thanks

     
  • marcelolinux
    marcelolinux
    2007-11-02

    Logged In: YES
    user_id=1928179
    Originator: NO

    hola:

    Para instalarlo agregar esto a fckconfig.js:

    FCKConfig.Plugins.Add( 'fckEmbedMovies') ;

    en el menu:
    ['EmbedMovies´]

    modificar fckplugin.js:
    // Register the related commands.
    FCKCommands.RegisterCommand(
    'EmbedMovies',
    new FCKDialogCommand(
    'EmbedMovies',
    FCKLang["EmbedMoviesDlgTitle"],
    FCKPlugins.Items['fckEmbedMovies'].Path + 'fck_embedmovies.html',
    450,
    370
    )
    );
    alert ("llegue");
    // Create the "EmbedMovies" toolbar button.
    // FCKToolbarButton( commandName, label, tooltip, style, sourceView, contextSensitive )
    var oEmbedMoviesItem = new FCKToolbarButton( 'EmbedMovies', FCKLang["EmbedMoviesBtn"], FCKLang["EmbedMoviesTooltip"], null, false, true );
    oEmbedMoviesItem.IconPath = FCKConfig.PluginsPath + 'fckEmbedMovies/embedmovies.gif';

    // 'EmbedMovies' is the name that is used in the toolbar config.
    FCKToolbarItems.RegisterItem( 'EmbedMovies', oEmbedMoviesItem );

    Hello:

    hola:

    for instal add this in fckconfig.js:

    FCKConfig.Plugins.Add( 'fckEmbedMovies') ;

    in the menu:
    ['EmbedMovies´]

    modify fckplugin.js:
    // Register the related commands.
    FCKCommands.RegisterCommand(
    'EmbedMovies',
    new FCKDialogCommand(
    'EmbedMovies',
    FCKLang["EmbedMoviesDlgTitle"],
    FCKPlugins.Items['fckEmbedMovies'].Path + 'fck_embedmovies.html',
    450,
    370
    )
    );
    // Create the "EmbedMovies" toolbar button.
    // FCKToolbarButton( commandName, label, tooltip, style, sourceView, contextSensitive )
    var oEmbedMoviesItem = new FCKToolbarButton( 'EmbedMovies', FCKLang["EmbedMoviesBtn"], FCKLang["EmbedMoviesTooltip"], null, false, true );
    oEmbedMoviesItem.IconPath = FCKConfig.PluginsPath + 'fckEmbedMovies/embedmovies.gif';

    // 'EmbedMovies' is the name that is used in the toolbar config.
    FCKToolbarItems.RegisterItem( 'EmbedMovies', oEmbedMoviesItem );

    Thank's & bye !!!

     
  • saul11
    saul11
    2008-05-28

    Logged In: YES
    user_id=1371356
    Originator: NO

    Do the movies play or even show within the Fckeditor itself or only on the resulting page?

     
  • Mena S
    Mena S
    2009-07-20

    Hello,

    i have edited the plugin to fully work with fckeditor 2.5 and 2.6
    you can download it at :
    http://rapidshare.com/files/257911190/plugin.zip

    to install follow these steps:

    1-
    edit the file:
    FCKeditorfolder/fckconfig.js

    add the following at the end of the file and save:

    FCKConfig.Plugins.Add( 'EmbedMovies','en') ;

    =================================

    2-

    upload the folder /EmbedMovies

    to /FCKeditorfolder/editor/plugins/

    =================================
    U R done

    Enjoy!

     
  • metaphist
    metaphist
    2010-07-19

    Found a slight error. On line 111, you check sExt != mov when it should be ".mov" (notice the dot). This prevents mov files from being properly detected, and thus embedded.