No description yet.
This is the code documentation for the SproutCMS project
Search documentation |
class EmbedVideoNo description yet.
Functions
public getThumbFilenameunknown EmbedVideo::getThumbFilename ( mixed $url [, Quality. $quality ] ); Get a thumbnail as a full absolute URL) public getVideoIdTypeunknown EmbedVideo::getVideoIdType ( mixed $url ); Parse the URL into a video-id and type public renderEmbedunknown EmbedVideo::renderEmbed ( string $url [, int $width [, int $height , array $options ]] ); Return HTML for embedding a video, based on the URL. Supports YouTube and Vimeo. Options include: bool autoplay Begin playing the video straight away string title Title attribute public resizedThumbunknown EmbedVideo::resizedThumb ( mixed $url , mixed $sizespec ); Return the URL for our dynamic thumbnail resizer for a given video url Arguments are the same as `File::resizeUrl` Size spec only supports crop at this time (e.g. c200x150) |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|