Add fallback oembeds
This commit is contained in:
parent
26692027a5
commit
f9a3bd73a2
1 changed files with 5 additions and 0 deletions
|
|
@ -67,6 +67,11 @@ class Commercial < ApplicationRecord
|
|||
OEmbed::Providers::Instagram,
|
||||
speakerdeck
|
||||
)
|
||||
|
||||
OEmbed::Providers.register_fallback(
|
||||
OEmbed::ProviderDiscovery,
|
||||
OEmbed::Providers::Noembed
|
||||
)
|
||||
end
|
||||
|
||||
def conference_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue