Developers Guide

Function : add_admin_menu File : includes/plugins.functions.php Since : 2.x This function used to add links admin area. When you create or develop a plugin you must point links to access or configure plugin pages, in order to make it easier we have created system, an easy system so you can write files dedicated to admin […]

Continue Reading

Function : get_thumb File : functions_videos.php Since : v2.x This function is used to get thumbnails of a video. This function will get all video thumbnails and list them in array, you can single thumbnail using incremental number or all thumbnails in an array or just count how many thumbnails are available. This function has […]

Continue Reading

{section } is used to loop through an array and display the result one by one. For starters, we did not create {section } function, it is Smarty function, just like while for php. Usage {section name=loop_name loop=$array} {$array[loop_name].column_name} {/section} Let’s break it down. First {section name=loop_name loop=$array} We give our section a name, this […]

Continue Reading

{FlashPlayer } function is used to create flash video player. Usage {FlashPlayer parameters} It can use following parameters Parameter Name Options vdetails (Required) Video Array height Set the height of player. This will override the setting found in Admin Area. player_div Name of tag ID which will wrap player. If left empty ‘videoPlayer‘ is used […]

Continue Reading

{show_rating } function is used to display current rating of video. Usage {show_rating parameters} It uses following parameters Parameter Name Details class Your CSS classname. If left empty ‘rating_stars’ will be used. rating Current rating of object ratings Total rating received by object total Total Rating. It should be set to ’10’

Continue Reading

{show_flag_form } function is used to display playlist form. Usage {show_flag_form parameters} It uses following parameters Parameter Name Options id Object ID type Object Type video group user For styling, this function uses ‘/blocks/flag_form.html‘ file. Above two parameters are required to make flag form work properly. You can pass any new parameter you want. For […]

Continue Reading

{show_playlist_form } function is used to display playlist form. Usage {show_playlist_form parameters} It uses following parameters Parameter Name Options id Object ID type Object Type Currently only ‘video‘ For styling, this function uses ‘/blocks/playlist_form.html‘ file. Above two parameters are required to make playlist form work properly. You can pass any new parameter you want. For […]

Continue Reading

{show_share_form } function is used to display sharing form. Usage {show_share_form parameters} It uses following parameters Parameter Name Options id Object ID type Object Type Currently only ‘video‘ For styling, this function uses ‘/blocks/share_form.html‘ file. Above two parameters are required to make share form work properly. You can pass any new parameter you want. For […]

Continue Reading

{show_video_rating } function is used display rating object &amp to rate a video. It is used on watch_video page. Usage {show_video_rating parameters} It uses following parameters id ID of the object rating Current rating of object ratings Total number of rating object has received type Object type Currently only ‘video‘ For styling, this function uses […]

Continue Reading

Like name suggests it is used to assign some value to variable. Usage of assign fairly simple. Usage {assign var=”var_name” value=”some_value”} Example {assign var=”variable” value=”Some Value Here”} Some Value Here is now stored inside $variable. To display, simply write {$variable}.

Continue Reading