tdVideoPlugin - 0.1.7

Provides easy interface for flash video player to embed in symfony projects.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to the Plugins Home


Forgot your password?
Create an account



advanced search
Information Readme Dependencies Releases Changelog Contribute
Show source | Show as Markdown


The tdVideoPlugin is a symfony plugin providing easy interface for flash video player to embed in symfony projects. It is based on my sfVideoPlugin and is integrated into TD CMF.

This plugin is a part of TD CMF and is based on Doctrine ORM.


Install the plugin via the subversion repository:

$ svn co plugins/tdVideoPlugin

from the project root directory or by using the command:

$ ./symfony plugin:install tdVideoPlugin

Right after the installation of the plugin, you should update plugin assets:

$ ./symfony plugin:publish-assets

so that the default JS and CSS files of the plugin are accessible. Everything is done properly now.


  • Enable the tdSampleVideo module in your frontend application's config/settings.yml enabled_modules section:

    enabled_modules: [tdSampleVideo ]( ...,)
  • Fixtures are provided with the plugin and 3 flv files in the data/samples directory (thanks to media_college. Run following commands:

    $ ./symfony doctrine:build --all


    $ ./symfony doctrine:data-load

    Now you have to create a directory for video uploads:

    $ mkdir web/uploads/td/video

    and make it writeable:

    $ chmod 777 web/uploads/td/video

    Now you have to copy those 3 sample flv files from tdVideoPlugin/data/samples to the video upload directory created above. Everything is ready to run the following URL in your browser:

  • Enable the td_video admin generator in your backend application's config/settings.yml enabled_modules section:

    enabled_modules: [td_video ]( ...,)


You can modify settings of the tdVideoPlugin in the config/tdVideoPluginConfiguration.class.php file:

  • td_video_upload_dir - upload dir of all video files


The offcial documentation of the flowplayer can be found here.


Example flv files have been downloaded from media_college