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,
|
OEmbed::Providers::Instagram,
|
||||||
speakerdeck
|
speakerdeck
|
||||||
)
|
)
|
||||||
|
|
||||||
|
OEmbed::Providers.register_fallback(
|
||||||
|
OEmbed::ProviderDiscovery,
|
||||||
|
OEmbed::Providers::Noembed
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
def conference_id
|
def conference_id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue