VideourlHelper
extends Helper
in package
Helper used to draw thumbnails for video sites
Tags
Table of Contents
- __construct() : mixed
- The constructor at this point does nothing
- render() : mixed
- Used to a thumbnail for a video link.
Methods
__construct()
The constructor at this point does nothing
public
__construct() : mixed
Return values
mixed —render()
Used to a thumbnail for a video link.
public
render(string $url, string $data_url[, bool $open_in_tabs = false ]) : mixed
Parameters
- $url : string
-
to video site
- $data_url : string
-
for thumbnail
- $open_in_tabs : bool = false
-
whether new links should be opened in tabs