Problem/Motivation
Add support for modal popup. The modal popup is used for displaying Youtube embeds.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screenshot_5_11_21__2_10_PM.png | 253.83 KB | baldwinlouie |
Issue fork bootstrap_cloud-3213300
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3213300-add-support-for-modal
changes, plain diff MR !4
Comments
Comment #3
baldwinlouie commented@yas I've added support for videos inside a modal popup.
I've added support for both buttons and links.
For example:
With this patch, all you need to do is create a link or button with the syntax above, and the videos will popup.
I've decided to let the user who create these links to configure the youtube embed parameters in the
data-srcattribute according to: https://developers.google.com/youtube/player_parametersI've attached a screenshot of what the end result looks like.
Comment #4
yas@baldwinlouie
Thank you for adding the feature. Great patch, I'll merge the patch to
8.x-1.xand2.x, and close this issue asFixed.Comment #8
yas