From f9a3bd73a2006d488d8c402c404f1c782136de4d Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Thu, 18 Jun 2020 11:01:39 -0700 Subject: [PATCH] Add fallback oembeds --- app/models/commercial.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/models/commercial.rb b/app/models/commercial.rb index 4d28330c..5acda134 100644 --- a/app/models/commercial.rb +++ b/app/models/commercial.rb @@ -67,6 +67,11 @@ class Commercial < ApplicationRecord OEmbed::Providers::Instagram, speakerdeck ) + + OEmbed::Providers.register_fallback( + OEmbed::ProviderDiscovery, + OEmbed::Providers::Noembed + ) end def conference_id