You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote an alternative embed tile for a customer last year and now I need it again. The current embed tile was not sufficient in both case.
It is very simple and provides a tile with 100% width in its row, aspect ration kept, settings kept. You just need to paste the Youtube embed code into a text field.
This could be extended for similar video embeds (Iframe based).
<!-- ytembed tile -->
<plone:tilename="kup.tiles.ytembed"title="YT Embed"description="Paste an Youtube embed code and get an tile-width video"for="*"schema=".ytembed.IYTEmbedTile"class=".ytembed.YTEmbedTile"permission="zope2.View"add_permission="cmf.ModifyPortalContent"
/>
To not forget about it I create this issue.
FTR:
I wrote an alternative embed tile for a customer last year and now I need it again. The current embed tile was not sufficient in both case.
It is very simple and provides a tile with 100% width in its row, aspect ration kept, settings kept. You just need to paste the Youtube embed code into a text field.
This could be extended for similar video embeds (Iframe based).
Here is the code
ZCML:
Styles:
Also some
registry.xml
was needed:The text was updated successfully, but these errors were encountered: