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
- Video responsive in modal
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,
how do I make videos responsive in modal?
I have the plugin wf_responsive_widgets_1022 and full screen enabled but it doesn't work.
Take a look at this page: [url=https://www.virdminyons.cat/cercador/videos]
Click on the camera to see a video.
Thanks!
Jose
Joomla 3.10.6
JCE Editor 2.9.20
JCE MediaBox 2.1.3beta8
Responsive widgets 1.0.22
how do I make videos responsive in modal?
I have the plugin wf_responsive_widgets_1022 and full screen enabled but it doesn't work.
Take a look at this page: [url=https://www.virdminyons.cat/cercador/videos]
Click on the camera to see a video.
Thanks!
Jose
Joomla 3.10.6
JCE Editor 2.9.20
JCE MediaBox 2.1.3beta8
Responsive widgets 1.0.22
I have the plugin wf_responsive_widgets_1022 and full screen enabled but it doesn't work.
As the videos are being opened in a modal window and not in article content, this plugin will have no effect.
JCE MediaBox 2.1.3beta8
Your videos aren't being opened in JCE MediaBox, which would make them responsive.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Hello!
Now I open the page in JCE Mediabox but it doesn't work and there is also the problem that the videos are not shown because in the .wf-mediabox-content-ajax iframe class there is the property visibility: hidden
Take a look at this page: Title
Thanks!
Jose
Now I open the page in JCE Mediabox but it doesn't work and there is also the problem that the videos are not shown because in the .wf-mediabox-content-ajax iframe class there is the property visibility: hidden
Take a look at this page: Title
Thanks!
Jose
Is the video on this page - https://www.virdminyons.cat/cercador/videos/video/4 - loaded in a Joomla Article Manager item, field or custom module?
Just because you're not paranoid doesn't mean everybody isn't out to get you.
The content needs to be processed through the onContentPrepare event to trigger the Responsive Widgets plugin, eg:
/* example from com_content component */
JPluginHelper::importPlugin('content');
JEventDispatcher::getInstance()->trigger('onContentPrepare', array ('com_content.article', &$item, &$item->params, $offset));
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Hi!
I added these lines:
into the view.html.php file of the view and now the videos are responsive.
Do you think it is the right thing?
Thanks!
Jose
I added these lines:
JPluginHelper::importPlugin('system');
$dispatcher = JEventDispatcher::getInstance();
if (!isset($this->item->text)) { $this->item->text = $this->item->arxiumultimedia; }
$dispatcher->trigger('onContentPrepare', array ('com_bdminyons.video', &$this->item, &$this->params, 0));
$this->item->arxiumultimedia = $this->item->text;
into the view.html.php file of the view and now the videos are responsive.
Do you think it is the right thing?
Thanks!
Jose
josemh
marked this post as Resolved — 2 years ago
- 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!