Media gallery export does not support youtube videos

Created on 7 October 2022, about 2 years ago
Updated 17 December 2023, about 1 year ago

Problem/Motivation

Media gallery export only works with locally stored media files.
Remote content such as Youtube videos are not exported correctly and results in warning:

Warning: copy(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in media_gallery_export_form_submit() (line 90 of /www/sites/all/modules/migrate/media_gallery_export/media_gallery_export.module).
Warning: copy(https://www.youtube.com/watch?v=zmxggTIZhw): failed to open stream: no suitable wrapper could be found in media_gallery_export_form_submit() (line 90 of /www/sites/all/modules/migrate/media_gallery_export/media_gallery_export.module).

Steps to reproduce

  • Create a media gallery
  • Add remote content via URL
  • Enable media_gallery_export module
  • Go to admin/config/media/media_gallery_export and press "Export" button
Feature request
Status

Closed: cannot reproduce

Version

1.4

Component

Code

Created by

🇮🇪Ireland vbalsys

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