sfVideoPlugin - 1.0.0

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

Signin


Forgot your password?
Create an account

Tools

Stats

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

sfVideoPlugin

The sfVideoPlugin is a symfony plugin providing easy interface for flash video player to embed in symfony projects.

Installation

Install the plugin via the subversion repository:

$ svn co http://svn.symfony-project.com/plugins/sfVideoPlugin/trunk plugins/sfVideoPlugin

from the project root directory or by using the command:

$ ./symfony plugin:install sfVideoPlugin

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.

Usage

Go to the config directory of the plugin and uncomment all lines in the routing.yml file.

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

enabled_modules: [sfVideo ]( ...,)

Run the following URL in your browser:

http://your-site/video

You may choose from 3 example flv files to display. An example of linking flv file is shown in sfVideo/templates/indexSuccess.php.

Documentation

The offcial documentation of the flowplayer can be found here.

Credits

Example flv files have been downloaded from college(http://www.mediacollege.com/adobe/flash/video/tutorial/example-flv.html)