2017 © Pedro Peláez
 

library youtubethumbnailhelper

image

rowland/youtubethumbnailhelper

  • Friday, October 24, 2014
  • by RowlandOti
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

YoutubeThumbnailHelper

Easily create youtube thumbnails with play buttons watermarked on the top for laravel and private projects. A youtube thumbnail generator package for Laravel, (*1)

A class based on "YouTube Thumbnail Enchancer by Hal Gatewood". You can check it out here., (*2)

Simply, add this class into your View/Helper directory and access it from view just like this:, (*3)

Installation

Add the following to you composer.json file (Recommend swapping "dev-master" for the latest release), (*4)

"rowland/youtubethumbnalhelper": "dev-master"
Run

composer update, (*5)

Add the following to app/config/app.php
'Rowland\YoutubeThumbnailHelper\YoutubeThumbnailHelperServiceProvider',
Run the package migration
php artisan migrate --package=rowland/youtubethumbnalhelper

Publish the config, (*6)

php artisan config:publish rowland/youtubethumbnalhelper

Optionally tweak the settings in the many config files for your app. Optionally copy the youtubethumbnalhelper config file (src/config/youtubethumbnalhelper.php) to your administrator model config directory., (*7)

Create the relevant image upload directories that you specify in your config, e.g., (*8)

public/assets/packages/rowland/youtubethumbnalhelper/youtube/play

Simple now you can access it from view/model or controller just like this:, (*9)

YoutubeThumbnailHelper::register("http://www.youtube.com/watch?v=YdIerlxIcHO")->create_image()

The Versions

24/10 2014

dev-master

9999999-dev

  Sources   Download

The Requires

 

by Otieno Rowland