Articles
{assign } Function
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}.
Read Article ›{show_share_form } Function
{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 [...]
Read Article ›{show_playlist_form } Function
{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 [...]
Read Article ›{show_flag_form } Function
{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 [...]
Read Article ›{FlashPlayer } Function
{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 [...]
Read Article ›{section } Loop
{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 [...]
Read Article ›get_thumb function
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 [...]
Read Article ›

