You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Plugins / Addons
- How to add a specific uikit attribute to a video iframe ?
Support is currently Online
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Hello,
I use Yootheme Pro for many clients' websites. Based on Uikit 3, it offers a number of interesting classes or attributes to easily format objects on a web page.
In the text flow of an article, I want to add a Youtube video with a large size, and which is also responsive. With UIKIT, we have to add to the iframe an attribute "uk-responsive", which is not a CSS class, as explained here: https://getuikit.com/docs/utility#responsive-objects
How to add this attribute with the JCE media manager?
Also, would it be possible to add this attribute systematically for any video integration? That is to say in the settings of the media manager plugin?
Thanks in advance for your help.
Phil
I use Yootheme Pro for many clients' websites. Based on Uikit 3, it offers a number of interesting classes or attributes to easily format objects on a web page.
In the text flow of an article, I want to add a Youtube video with a large size, and which is also responsive. With UIKIT, we have to add to the iframe an attribute "uk-responsive", which is not a CSS class, as explained here: https://getuikit.com/docs/utility#responsive-objects
How to add this attribute with the JCE media manager?
Also, would it be possible to add this attribute systematically for any video integration? That is to say in the settings of the media manager plugin?
Thanks in advance for your help.
Phil
Unfortunately at the moment the only way to add addtional attributes to a video is to do it in the Code tab.
I realise this is not ideal, an I have been working on a solution for this over the last couple of days, where custom attributes will be able to be set in the Advanced tab of the Media Manager dialog, or set as custom Style Formats using the styles list.
I hope to have this ready for testing early next week.
FYI - I have made a plugin for making video responsive - https://github.com/widgetfactory/wf_responsive_widgets - which you may find useful.
I realise this is not ideal, an I have been working on a solution for this over the last couple of days, where custom attributes will be able to be set in the Advanced tab of the Media Manager dialog, or set as custom Style Formats using the styles list.
I hope to have this ready for testing early next week.
FYI - I have made a plugin for making video responsive - https://github.com/widgetfactory/wf_responsive_widgets - which you may find useful.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!