Add fallback oembeds

This commit is contained in:
Michael Ball 2020-06-18 11:01:39 -07:00
parent 26692027a5
commit f9a3bd73a2

View file

@ -67,6 +67,11 @@ class Commercial < ApplicationRecord
OEmbed::Providers::Instagram,
speakerdeck
)
OEmbed::Providers.register_fallback(
OEmbed::ProviderDiscovery,
OEmbed::Providers::Noembed
)
end
def conference_id