Author: tkoomzaaskz Date: 2010-01-13 20:08:01 +0100 (Wed, 13 Jan 2010) New Revision: 26578
Added: plugins/sfVideoPlugin/trunk/modules/sfVideo/templates/localSuccess.php plugins/sfVideoPlugin/trunk/web/flv/ plugins/sfVideoPlugin/trunk/web/flv/01.flv plugins/sfVideoPlugin/trunk/web/flv/02.flv plugins/sfVideoPlugin/trunk/web/flv/03.flv Modified: plugins/sfVideoPlugin/trunk/README plugins/sfVideoPlugin/trunk/modules/sfVideo/actions/actions.class.php plugins/sfVideoPlugin/trunk/modules/sfVideo/templates/showSuccess.php Log: [video] works on main feature of the plugin Modified: plugins/sfVideoPlugin/trunk/README =================================================================== --- plugins/sfVideoPlugin/trunk/README 2010-01-13 19:05:03 UTC (rev 26577) +++ plugins/sfVideoPlugin/trunk/README 2010-01-13 19:08:01 UTC (rev 26578) @@ -33,3 +33,9 @@ The offcial documentation of the flowplayer can be found [here](http://flowplayer.org/documentation/). + +Credits +======= + +Example flv files have been downloaded from +[media college](http://www.mediacollege.com/adobe/flash/video/tutorial/example-flv.html) Modified: plugins/sfVideoPlugin/trunk/modules/sfVideo/actions/actions.class.php =================================================================== --- plugins/sfVideoPlugin/trunk/modules/sfVideo/actions/actions.class.php 2010-01-13 19:05:03 UTC (rev 26577) +++ plugins/sfVideoPlugin/trunk/modules/sfVideo/actions/actions.class.php 2010-01-13 19:08:01 UTC (rev 26578) @@ -32,9 +32,10 @@ * * @param sfRequest $request A request object */ - public function executeShow(sfWebRequest $request) + public function executeLocal(sfWebRequest $request) { - $this->link = "/path/to/local/flv/file.flv"; + $this->link = $request->getParameter('file'); +echo $this->link; // adding js flash embedding script $this->getResponse()->addJavascript('/sfVideoPlugin/js/flowplayer-3.1.4.min.js'); Added: plugins/sfVideoPlugin/trunk/modules/sfVideo/templates/localSuccess.php =================================================================== --- plugins/sfVideoPlugin/trunk/modules/sfVideo/templates/localSuccess.php (rev 0) +++ plugins/sfVideoPlugin/trunk/modules/sfVideo/templates/localSuccess.php 2010-01-13 19:08:01 UTC (rev 26578) @@ -0,0 +1,22 @@ + <div id="page"> + + <h1>Minimal Flowplayer setup</h1> + + <p>View commented source code to get familiar with Flowplayer installation.</p> + + <!-- this A tag is where your Flowplayer will be placed. it can be anywhere --> + <a href="<?php echo $link ?>" style="display:block;width:520px;height:330px" id="player"> + </a> + + <!-- this will install flowplayer inside previous A- tag. --> + <script> + flowplayer("player", "/sfVideoPlugin/swf/flowplayer-3.1.5.swf"); + </script> + + <p> + If you are running these examples <strong>locally</strong> and not on some webserver you must edit your + <a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"> + Flash security settings</a>. + </p> + + </div> Modified: plugins/sfVideoPlugin/trunk/modules/sfVideo/templates/showSuccess.php =================================================================== --- plugins/sfVideoPlugin/trunk/modules/sfVideo/templates/showSuccess.php 2010-01-13 19:05:03 UTC (rev 26577) +++ plugins/sfVideoPlugin/trunk/modules/sfVideo/templates/showSuccess.php 2010-01-13 19:08:01 UTC (rev 26578) @@ -20,6 +20,3 @@ </p> </div> - - -</body></html> \ No newline at end of file Added: plugins/sfVideoPlugin/trunk/web/flv/01.flv =================================================================== (Binary files differ) Property changes on: plugins/sfVideoPlugin/trunk/web/flv/01.flv ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: plugins/sfVideoPlugin/trunk/web/flv/02.flv =================================================================== (Binary files differ) Property changes on: plugins/sfVideoPlugin/trunk/web/flv/02.flv ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: plugins/sfVideoPlugin/trunk/web/flv/03.flv =================================================================== (Binary files differ) Property changes on: plugins/sfVideoPlugin/trunk/web/flv/03.flv ___________________________________________________________________ Added: svn:mime-type + application/octet-stream
-- You received this message because you are subscribed to the Google Groups "symfony SVN" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-svn?hl=en.
