goddamnyouryan
goddamnyouryan

Reputation: 6896

User Video Embedding in Rails 3

I am building an app using Rails 3 that allows users to submit videos. I would like to be able to accept simply the video URL from the user and using this, my app will generate the appropriate embed code (depending on the video source). Is there a good library for something like this that already exists? I'd rather not have to reinvent the wheel here and write my own regex/scripts to embed the videos if something already exists.

Think of how tumblr works...you just paste in the url of the video and it embeds it all automatically.

Thanks!

Upvotes: 2

Views: 1123

Answers (1)

Chris Cherry
Chris Cherry

Reputation: 28554

I would look into the embedly api it may be able to address your problem.

Upvotes: 6

Related Questions