Skip to content

Media carousel doesn't open video #8047

@thehervy

Description

@thehervy

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

When I add in "Media carousel" item - Video, add link to vimeo or youtube, it is not working. On frontend it is clickable, but it points to the image used, not to the video.

Steps to reproduce

  1. Add Media carousel
  2. Add items - images (not needed)
  3. Add item - switch it to video type, add link to video (youtube or vimeo)
  4. Save and test it
  5. Images are fine, but the video is not opening lightbox or link to the video. Instead it opens link to the selected image.

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.

Environment

System Info ```

== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: Source distribution v5.5.33
PHP Version: 7.3.1
PHP Max Input Vars: 10000
PHP Max Post Size: 32M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 5.1.1
Site URL: http://www.hervy.cz/wf6
Home URL: http://www.hervy.cz/wf6
WP Multisite: No
Max Upload Size: 32 MB
Memory limit: 128M
Permalink Structure: /blog/%postname%/
Language: en-US
Timezone: Europe/Prague
Debug Mode: Inactive

== Theme ==
Name: Hello Elementor
Version: 1.2.0
Author: Elementor Team
Child Theme: No

== User ==
Role: administrator
WP Profile lang: en_US
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36

== Active Plugins ==
Elementor
Version: 2.5.14
Author: Elementor.com

Elementor Pro
	Version: 2.5.7
	Author: Elementor.com

== Log ==
:
Log: showing 20 of 252019-04-04 15:25:09 [info] Elementor Pro/Upgrades - _v_2_5_4_posts callback needs to run more 1 times
2019-04-04 15:25:09 [info] Elementor Pro/Upgrades - _v_2_5_4_portfolio Start
2019-04-04 15:25:17 [info] Elementor Pro/Upgrades - _v_2_5_4_portfolio callback needs to run more 1 times
2019-04-04 15:25:17 [info] Elementor Pro/Upgrades - _v_2_5_4_products Start
2019-04-04 15:25:19 [info] Elementor Pro/Upgrades - _v_2_5_4_products Finished
2019-04-04 15:25:19 [info] Elementor Pro/Upgrades - _v_2_5_4_form Start
2019-04-04 15:25:22 [info] Elementor Pro/Upgrades - _v_2_5_4_form Finished
2019-04-04 15:25:22 [info] Elementor Pro/Upgrades - _v_2_5_4_posts Start (2 of 2, 100%)
2019-04-04 15:25:27 [info] Elementor Pro/Upgrades - _v_2_5_4_posts Finished
2019-04-04 15:25:27 [info] elementor-pro::elementor_pro_updater Started
2019-04-04 15:25:27 [info] Elementor Pro/Upgrades - _v_2_5_4_portfolio Start (2 of 2, 100%)
2019-04-04 15:25:37 [info] Elementor Pro/Upgrades - _v_2_5_4_portfolio Finished
2019-04-04 15:25:37 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '2.5.3',
'to' => '2.5.4',
)]
2019-04-09 17:59:13 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.11',
'to' => '2.5.12',
)]
2019-04-09 18:01:21 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '2.5.4',
'to' => '2.5.5',
)]
2019-04-14 15:58:04 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.12',
'to' => '2.5.13',
)]
2019-04-17 10:38:42 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.13',
'to' => '2.5.14',
)]
2019-04-30 15:45:20 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '2.5.5',
'to' => '2.5.6',
)]
2019-05-06 09:46:15 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '2.5.6',
'to' => '2.5.7',
)]
2019-05-06 09:46:16 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '2.5.6',
'to' => '2.5.7',
)]

JS: showing 14 of 14JS: 2019-04-17 11:52:08 [error X 1][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.14:2:83475] Cannot set property 'controls' of undefined
JS: 2019-04-18 14:11:01 [error X 1][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5:22:19954] View (cid: "view479") has already been destroyed and cannot be used.
JS: 2019-04-18 14:43:42 [error X 2][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5:22:19954] View (cid: "view503") has already been destroyed and cannot be used.
JS: 2019-04-18 19:12:06 [error X 41][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.14:2:28351] Cannot read property 'get' of undefined
JS: 2019-04-19 15:12:21 [error X 1][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5:22:19954] View (cid: "view30043") has already been destroyed and cannot be used.
JS: 2019-04-19 15:12:21 [error X 1][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5:22:19954] View (cid: "view30225") has already been destroyed and cannot be used.
JS: 2019-04-19 18:02:53 [error X 2][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5:22:19954] View (cid: "view498") has already been destroyed and cannot be used.
JS: 2019-04-20 10:15:13 [error X 1][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.14:2:215671] Cannot read property 'on' of null
JS: 2019-04-20 10:15:33 [error X 10][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.14:2:215844] tinymce is not defined
JS: 2019-04-20 12:44:20 [error X 2][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/lib/slick/slick.min.js?ver=1.8.1:1:19335] Cannot read property 'add' of null
JS: 2019-04-22 18:23:16 [error X 1][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/js/frontend-modules.min.js?ver=2.5.14:2:8029] Cannot read property 'attributes' of undefined
JS: 2019-04-23 20:47:26 [error X 2][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.14:2:84262] Blocked a frame with origin "http://www.hervy.cz\" from accessing a cross-origin frame.
JS: 2019-04-25 00:23:14 [error X 2][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5:22:19954] View (cid: "view473") has already been destroyed and cannot be used.
JS: 2019-05-05 21:23:23 [error X 1][http://www.hervy.cz/wf6/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5:22:19954] View (cid: "view481") has already been destroyed and cannot be used.

PHP: showing 4 of 4PHP: 2019-04-18 15:25:53 [notice X 4][/data/web/virtuals/23769/virtual/www/wf6/wp-content/plugins/elementor/includes/managers/image.php::33] Undefined index: id [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2019-04-18 16:07:12 [notice X 1][/data/web/virtuals/23769/virtual/www/wf6/wp-content/plugins/elementor/includes/template-library/sources/local.php::676] ob_end_clean(): failed to delete buffer. No buffer to delete [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2019-04-19 15:04:54 [notice X 1][/data/web/virtuals/23769/virtual/www/wf6/wp-content/plugins/elementor-pro/modules/posts/widgets/posts.php::31] Undefined index: posts_post_type [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2019-04-22 16:56:43 [notice X 2][/data/web/virtuals/23769/virtual/www/wf6/wp-content/plugins/elementor-pro/modules/query-control/module.php::280] Undefined index: object_type [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]

</details>

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/swiperReferences any instance of the Swiper.js dependency.status/mergedIndicates when a Pull Request has been merged to a Release.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions