开发者

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 o开发者_如何学JAVAf how tumblr works...you just paste in the url of the video and it embeds it all automatically.

Thanks!


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜