This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Controller_Block_Video

Functions for embedding video in your page. Can automatically determine width and height of FLV files from standard metadata.

Extended by Controller
Extended by Concrete5_Library_BlockController
Extended by BlockController
Extended by Concrete5_Controller_Block_Video

Direct known subclasses


Package: Blocks\Video
Copyright: Copyright (c) 2003-2012 Concrete5. (
License: MIT License
Author: Tony Trupp
Author: Remo Laubacher
Author: Andrew Embler
Located at core/controllers/blocks/video.php

Methods summary

public string
# getBlockTypeDescription( )

Used for localization. If we want to localize the name/description we have to include this

public string
# getBlockTypeName( )

Returns the name of the block type

# getJavaScriptStrings( )

Returns a key/value array of strings that is used to translate items when used in javascript

# save( array $data )

Run when a block is added or edited. Automatically saves block data against the block's database table. If a block needs to do more than this (save to multiple tables, upload files, etc... it should override this.


Properties summary

protected integer $btInterfaceWidth
# 320
protected integer $btInterfaceHeight
# 220
protected string $btTable
# 'btVideo'
protected boolean $btCacheBlockRecord
# true
protected boolean $btCacheBlockOutput
# true
protected boolean $btCacheBlockOutputOnPost
# true
protected boolean $btCacheBlockOutputForRegisteredUsers
# false
protected array $btExportFileColumns
# array('fID')
protected string $btWrapperClass
# 'ccm-ui'
public string $width
# ''
public string $height
# ''
public integer $fID
# 0