[
https://issues.apache.org/jira/browse/AIRAVATA-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Christie updated AIRAVATA-3522:
--------------------------------------
Description:
See https://github.com/wagtail/wagtail/issues/7204
Wagtail 2.14 adds support for setting max_height and max_width on the embed
tag, so this might be a good solution. We could add max_height and max_width to
the CustomEmbedBlock so authors can have some control over the sizing.
see also https://github.com/wagtail/wagtail/pull/6844
### Workaround
1. In Youtube, click **Share**
2. Select **Embed**
3. Copy the HTML snippet, it starts with `<iframe ...`
4. In Wagtail, use a Raw HTML block
5. Past in the HTML from step 3.
was:
See https://github.com/wagtail/wagtail/issues/7204
Wagtail 2.14 adds support for setting max_height and max_width on the embed
tag, so this might be a good solution. We could add max_height and max_width to
the CustomEmbedBlock so authors can have some control over the sizing.
see also https://github.com/wagtail/wagtail/pull/6844
> Wagtail: youtube embeds are small
> ---------------------------------
>
> Key: AIRAVATA-3522
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3522
> Project: Airavata
> Issue Type: Bug
> Components: Django Portal
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> See https://github.com/wagtail/wagtail/issues/7204
> Wagtail 2.14 adds support for setting max_height and max_width on the embed
> tag, so this might be a good solution. We could add max_height and max_width
> to the CustomEmbedBlock so authors can have some control over the sizing.
> see also https://github.com/wagtail/wagtail/pull/6844
> ### Workaround
> 1. In Youtube, click **Share**
> 2. Select **Embed**
> 3. Copy the HTML snippet, it starts with `<iframe ...`
> 4. In Wagtail, use a Raw HTML block
> 5. Past in the HTML from step 3.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)