Wanna embed videos from a Rails app?
β›” ActiveStorage
β›” Youtube
βœ… Vimeo

Why not Youtube?
βœ… no Youtube branding & ads = premium feel πŸ‘‘
βœ… has basic security features πŸ” ("embeddable only on selected domains")

Why not ActiveStorage?
βœ… auto encoding (720, 1080 etc), πŸ’Ύ
βœ… auto bandwidth management πŸ“ˆ πŸ“‰
βœ… easy to customize the player πŸ’…
βœ… analytics πŸ“ˆ
βœ… cheap, fixed annual cost; not usage based like MUX(dot)com, or AWS S3 πŸ’°

πŸ”΄ Watch SupeRails #210 & learn Vimeo API basics:
superails.com/posts/vimeos-com

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies