Dynamic cropping for video thumbs
This is the code documentation for the SproutCMS project
Search documentation |
class EmbedVideoControllerDynamic cropping for video thumbs
Functions
private findEdgeYunknown $EmbedVideoController->findEdgeY ( mixed $img , mixed $y1 , mixed $y2 ); Finds the black edge between $y1 and $y2 public thumbvoid $EmbedVideoController->thumb ( mixed $size , mixed $type , mixed $videoid ); Downloads a thumbnail from the video provider Trims black bars from the top and the bottom of the image Resizes and crops to the specified size |
| 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 |
|