Absolute path for oembed iframe

Created on 23 September 2022, about 2 years ago
Updated 8 September 2023, about 1 year ago

Problem/Motivation

While using drupal with decoupled application with NextJs, embedded media gives 404 error.
This is because the iframe source provided by media oembed is /media/oembed?url=.

Steps to reproduce

  1. Install Drupal any version mine is 9.4.x
  2. Install NextJs module
  3. Setup NextJs site
  4. Create node with embedded video
  5. Visit page in NextJs site, it will give you 404 for the video embedded section

Proposed resolution


Output the full path as absolute.

Remaining tasks


User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ› Bug report
Status

Fixed

Version

10.1 โœจ

Component
Mediaย  โ†’

Last updated about 2 hours ago

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia rajeshreeputra Pune

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024