Mobile detection should be moved to the items display settings as in the case of videos it brakes the functionality but may want to turn off for images.

Created on 17 August 2022, over 2 years ago
Updated 19 January 2023, about 2 years ago

Problem/Motivation

It works as expected if you resize using inspect element on a browser. Modal fails to open when using a real mobile device.

Steps to reproduce

1. Go to create a new "media type"
2. Select source: "Remote video"
3. Checkmark youtube and/or vimeo
4. In manage display, for the Video URL field change the format to "Colobox Media Remote Video"
5. Add media field to content type, select the media type that was created in step 1.
6. Create a new node, paste some YouTube video URL.
7. Using a real phone, try clicking on the thumbnail and it fails to open.

Using remote debugging via USB connection, see https://developer.chrome.com/docs/devtools/remote-debugging/

When inspecting element (of the real phone) of the class "colorbox-media-video cboxElement", I can see that for event listeners, the jquery.colorbox-min.js is missing for the click event. Sometimes it doesn't show any events at all except for cbox_complete.

Feature request
Status

Active

Version

1.0

Component

User interface

Created by

🇨🇦Canada No Sssweat

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Closed: works as designed about 2 years ago
  • Status changed to Needs review about 2 years ago
  • Status changed to Active about 2 years ago
Production build 0.71.5 2024