can't embed Rumble videos in oEmbed providers module

Created on 14 September 2023, over 1 year ago
Updated 2 October 2023, over 1 year ago

Problem/Motivation

I've got it installed on two sites and recently wanted to add rumble
to the list of providers. I've created a new provider and included rumble but
if I try and add a rumble URL or embed URL it gives me a
InvalidArgumentException: Unknown provider 'Rumble.com' in
Drupal\oembed_providers\OEmbed\ProviderRepositoryDecorator->get() (line 217
of
modules/contrib/oembed_providers/src/OEmbed/ProviderRepositoryDecorator.php).

I've come to understand that the provider name has to be exact. Within the
OEMBED Providers json file the rumble info looks like this:
{
"provider_name": "Rumble",
"provider_url": "https://rumble.com/",
"endpoints": [
{
"url": "https://rumble.com/api/Media/oembed.{format}",
"discovery": true
}
]
},

notice the provider_name is "Rumble".

If I go to iframely.com and paste in a rumble URL I will see, under the
oEmbed tab, I will see that the provider name is Rumble.com. I tried to
create a custom provider called Rumble.com but the machine name reverts to
rumble_com so it doesn't work.

I've even tried https://www.drupal.org/project/oembed_providers/issues/3253757#comment-1... β†’ to no avail

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States douglasm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024