yiippod Flash and HTML5 video player without any copyright on screen. Playlists support. Few styles.

Flash and HTML5 video player without any copyright on screen. Playlists support. Few styles. Based on free version of Uppod player. Support: FLV, MP4, AVI, MOV, RTMP, HTTP

Usage: Download and extract in: _yii_webroot/protected/extensions

Add this code in your view:

<?php  
 
	$this->widget('ext.Yiippod.Yiippod', array(
	'video'=>"http://www.youtube.com/watch?v=qD2olIdUGd8", //if you don't use playlist
	//'video'=>"http://www.youtube.com/watch?v=qD2olIdUGd8", //if you use playlist
	'id' => 'yiippodplayer',
    'autoplay'=>true,
	'width'=>640,
	'view'=>6, 
	'height'=>480,
	'bgcolor'=>'#000'
	));

?>

Where:

  • 'video' => address to media file or video stream,

  • 'id' => player id,

  • 'autoplay' => autostrat (true/false),

  • 'width' => player width,

  • 'height' => player height,

  • 'bgcolor' => player background color before player loading

  • 'view'=> player styles integer form 1 to 6

Open Source Media Framework: If you want to use version with Open Source Media Framework or Open Source Media Framework with HLS please rename ext/Yiippod/assets/uppod-osmf.swf to ext/Yiippod/assets/uppod.swf or ext/Yiippod/assets/uppod-osmfhls.swf to ext/Yiippod/assets/uppod.swf

Playlist usage: If you want to add few video files in player, please edit this file: ext/Yiippod/assets/playlist.txt

{"playlist":[
{"comment":"First_file_or_stream_name","file":"URL_to_first_file_or_stream","poster":"some_img1.jpg"},
{"comment":"Second_file_or_stream_name","file":"URL_to_second_file_or_stream","poster":"some_img2.jpg"} ...

]}

And then you must delete 'video'=>"", or comment it in your view:

<?php  

$this->widget('ext.Yiippod.Yiippod', array(
	'id' => 'yiippodplayer',
    'autoplay'=>true,
	'width'=>640,
	'view'=>6, 
	'height'=>480,
	'bgcolor'=>'#000'
	));
	
?>

New in 1.2 version:

  • Autostart as option

New in 1.1 version:

  • Add playlists support

  • Add six styles

  • Support Open Source Media Framework, and Open Source Media Framework with HLS

Fork it in GitHub

3 0
11 followers
2 711 downloads
Yii Version: 1.1
License: GPL-3.0
Category: User Interface
Developed by: shapovalov_org
Created on: Sep 18, 2013
Last updated: 10 years ago

Downloads

show all

Related Extensions