Turn Urls into image/videos tags
Url-To-Media-Tag converts e.g. user-submitted urls into images and videos UrlToMediaTag.convert(‘http://www.youtube.com/watch?v=kW-dS4otEZU’) # -> <iframe …>
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Url-To-Media-Tag converts e.g. user-submitted urls into images and videos UrlToMediaTag.convert(‘http://www.youtube.com/watch?v=kW-dS4otEZU’) # -> <iframe …>
Post a comment