flowplayer on phpMotion

Posted on Friday 21 May 2010

admin @ 6:11 pm
Filed under: Video Streaming
lt

Posted on Monday 17 May 2010

admin @ 12:43 am
Filed under: Miscellaneous
Large File Uploads and php.ini

Posted on Saturday 15 May 2010

Default php settings do not allow uploads for files larger than 2 MB.

For larger file uploads, you need to edit following php.ini settings

* file_uploads
* upload_max_filesize
* max_input_time
* memory_limit
* max_execution_time
* post_max_size

upload_max_filesize and post_max_size

upload_max_filesize is the maximum file size that can be uploaded with php script.

post_max_size should be larger than upload_max_filesize as files are uploaded with POST method.

max_execution_time and max_input_time

max_input_time is the time script accept file inputs. You should put a height value for this.

max_execution_time is the maximum time upload script is allowed to execute, it should be larger than max_input_time

memory_limit

When the PHP engine is handling an incoming POST it needs to keep some of the incoming data in memory. So you should put a height value for this.

NOTE

Your server will only able to allocate memory for your script if it is available. If you are using shared server, chances are other sites too using memory and CPU resources. So there is no guarantee that your site/script will able to get the memory you set in the php.ini

If you are on a loaded shared server, you may face problems when uploading large files.

__________________
vShare Youtube Clone
admin @ 5:07 pm
Filed under: Miscellaneous
PHPmotion Player/Flashvars

Posted on Saturday 15 May 2010

PHPmotion Video Player (v3.5 upward)

As of V3.5, PHPmotion now has a new video player. We have built this new player with the aim of making at easy as possible to customise how it looks and how it works.

Note: This page is a work in progress and will be updated in due course.

How to control/customise the player

You can set various settings which determine how the player works and looks. These settings are called flashvars and are found main in 2 PHPmotion template file. (note that if you are using a custom theme, you must look in that themes folder)

  1. /themes/templates/default/templates/inner_index.htm
  2. /themes/templates/default/templates/make_player.html

Inside these template files, you will find a section that looks something like this:

<!--start of PHPmotion Player -->
<script type="text/javascript">
			var flashvars = {};
			var params = {};
			var attributes = {};
			flashvars.player_mode = "normal";
			flashvars.playlist = "no";
			flashvars.logo = "top_right";
			flashvars.floating_navbar = "false";
			flashvars.color_nav_bar_top = "0x478dc2";
			flashvars.color_nav_bar_bottom = "0xE7EBEC";
			flashvars.ads_background_color = "0x00CCFF";
			flashvars.ads_border_color = "0xCCCCCC";
			flashvars.scrubber_position_color = "0x6AA1CE";
			flashvars.scrubber_load_color = "0x888888";
			flashvars.scrubber_background_color = "0xBBBBBB";
			flashvars.volume_bar_color = "0xBBBBBB";
			flashvars.aspect_ratio="stretch";
			params.allowfullscreen = "true";
			params.allowscriptaccess = "sameDomain";

			//___dynamic settings________
			flashvars.flvsource = "[var.base_url]/uploads/[var.video_play]";
			flashvars.preview_image = "[var.base_url]/[var.thumb_file]";
			flashvars.url_logo = "[var.base_url]/images/playerlogos/logo-player.png";
			flashvars.buffering_time = [var.video_buffer_time];
			flashvars.autoplay = "[var.auto_play_vid]";
			flashvars.display_ads = "[var.player_defaults_ads]";
			[var.player_defaults_ads_xml]
			//___dynamic settings end ______

			swfobject.embedSWF("[var.base_url]/player.swf", "myAlternativeContent", "560", "420", "9.0.0", false, flashvars, params, attributes);
		</script>

<!--end of PHPmotion Player -->

Flashvars

Flasvar
Possible values
Function
     
flashvars.player_mode "normal"
"playlist"
In playlist mode, a sliding playlist is displayed within the player.
flashvars.playlist "yes"
"no"
When set to "yes" and when player_mode is set t
flashvars.playlist_xml "a url to the playlist xml" The url to the playlist xml file
flashvars.logo

"top_right"
"top_left"

"bottom_right"
"bottom_left"

Position of logo inside the player
flashvars.url_logo "a url to logo image" Location of image to display as logo inside the player
flashvars.autoplay "yes"
"no"
If set to "yes" the video will auto start when page loads
flashvars.buffering_time 1-99999 Number of seconds to buffer video
flashvars.aspect_ratio "stretch"
"fit"
Determine how video is resized inside the player
     
     
     
     
     
     
     
     
     
     

http://wiki.phpmotion.com/PHPmotionPlayer

jw-player support

admin @ 3:35 pm
Filed under: Our Services
embedded a/v

Posted on Thursday 13 May 2010

admin @ 2:52 pm
Filed under: Video Streaming