View Source

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[{zone-template-instance:ZFPROP:Proposal Zone Template}

{zone-data:component-name}
Zend_Video
{zone-data}

{zone-data:proposer-list}
[Angelos Staboulis|mailto:angeloskomotini@gmail.com]
{zone-data}

{zone-data:liaison}
https://github.com/angeloskomotini/Zend_Video/blob/master/Zend_Video.php
{zone-data}

{zone-data:revision}
1.0 - 05 March 2012: Initial Draft.
{zone-data}

{zone-data:overview}

Zend_Video is a class that manage videos from YouTube,DailyMotion,MetaCafe,Vimeo.

{zone-data}

{zone-data:references}

http://www.mediawiki.org/wiki/Extension:EmbedVideo

{zone-data}

{zone-data:requirements}

{zone-data}

{zone-data:dependencies}

{zone-data}

{zone-data:operation}

Zend_Video will allow a developer an easy interaction with videos from YouTube,DailyMotion,MetaCafe,Vimeo.

{zone-data}

{zone-data:milestones}
MileStone1:[DONE]write unit tests
MileStone2:[DONE]write code
MileStone3:[DONE]write documentation
{zone-data}

{zone-data:class-list}
* Zend_Video
{zone-data}

{zone-data:use-cases}
||UC-01 YouTube||



{composition-setup}

{deck:id=Youtube}
{card:label=Youtube}
Youtube Video Player.
{code:php}
$zend=new Zend_Video();
echo $zend->YouTubePlayer(10,13,330,223,"http://www.youtube.com/watch?v=r_8ydghbGSg");
{code}
{card}
{deck}


||UC-02 DailyMotion||

{deck:id=DailyMotion}
{card:label=DailyMotion}
DailyMotion Video Player.
{code:php}
$zend=new Zend_Video();
echo $zend->DailyMotionPlayer(10,13,330,223,"http://www.dailymotion.com/video/xda8rh_yyyy-yyyyyyyyyy_sport");
{code}
{card}



{deck}


||UC-03 MetaCafe||

{deck:id=Metacafe}
{card:label=Metacafe}
MetaCafe Video Player.
{code:php}
$zend=new Zend_Video();
echo $zend->MetaCafePlayer(10,13,330,23,"http://www.metacafe.com/watch/7237750/paok_tottenham/");
{code}
{card}

{deck}


||UC-04 Vimeo||

{deck:id=Vimeo}
{card:label=Vimeo}
Vimeo Video Player.
{code:php}
$zend = new Zend_Video();
echo $zend->VimeoPlayer(350,13,350,223,"http://vimeo.com/34833642");
{code}
{card}
{deck}

{zone-data}

{zone-data:skeletons}
{code:php}
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-webat this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@zend.com so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Video
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @author Angelos Staboulis
*/
class Zend_Video {

/**YouTube Video Player**/
public function YouTubePlayer($left,$top,$width,$height,$url)
{
}
/**Metacafe Video Player**/
public function MetaCafePlayer($left,$top,$width,$height,$url)
{
}
/**DailyMotion Video Player**/
public function DailyMotionPlayer($left,$top,$width,$height,$url)
{
}

/**Vimeo Video Player**/

public function VimeoPlayer($left,$top,$width,$height,$url)
{
}
}

{code}
{zone-data}

{zone-template-instance}]]></ac:plain-text-body></ac:macro>