Closed (fixed)
Project:
Modal
Version:
5.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2026 at 12:35 UTC
Updated:
12 Apr 2026 at 16:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
renatog commentedComment #3
dhruv.mittal commentedWorking on it
Comment #5
dhruv.mittal commentedComment #6
angel_devoeted commentedThe 3570102-5.1.x-youtube-video currently fatals with:
Fatal error: Cannot redeclare modal_page_modules_installed().
The function is declared twice in modal_page.module (lines 316 and 333).
This needs to be resolved before further review/testing.
Comment #7
renatog commentedThanks for catching that @angel_devoeted
Comment #8
dhruv.mittal commentedPlease review now
Comment #9
angel_devoeted commentedRe-tested with the latest changes and it works as expected now.
The YouTube video stops when the modal is closed.
Attached a short screen capture showing the behavior.
Comment #10
renatog commentedBased on #9, moving that to RTBC
Comment #11
renatog commentedMR can not be merged yet
Has multiple changes that is not related to this YouTube fix
We need to get this commit and apply the same updates on branch 5.1.x
Comment #12
renatog commentedPatch attached for 5.1.x
Comment #14
renatog commentedMoved to the dev branch
Comment #16
renatog commentedReleased the new version with this fix
https://www.drupal.org/project/modal_page/releases/5.1.10
Thank you so much for your awesome contribution @dhruvmittal, @keszthelyi and @angel_devoeted