A quick gem to make embedding vimeo/youtube links for users trivial and safe for other users
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
pkg
MIT-LICENSE
Manifest
README
Rakefile
init.rb

README

Add to Gemfile:
  gem 'safe_video_embed'

Usage:
1. Add migration
    add_column :examples, :video_embed_url, :string
2. Use helper for associated video_embed_url column safe_video_embed(:width => '800', :height => '600')


# TODO:
#   1. Test