Skip to content

nathanbertram/safe_video_embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A quick gem to make embedding vimeo/youtube links for users trivial and safe for other users

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages