Fixed Lightbox sidebar missing for Embeds, Videos and Audio media types

marquisite

Well-known member
Affected version
2.3.2
The lightbox sidebar is missing for embed, video and audio media types. This is happening with XFMG 2.3.2 and here on XenForo.com at the time of posting. The sidebar does correctly display for images.

Upon checking the browser console, an uncaught TypeError is logged for the XF2.3 lightbox (in the case of embeds, videos and audio):
JavaScript:
Uncaught TypeError: b.contentEl is undefined
    onSlideDisplayed https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:15
    trigger https://xenforo.com/community/js/xf/core-compiled.js?_v=f87c062b:8
    Carousel.ready Carousel.change https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:26
    emit https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:1
    emit https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:1
    initCarousel https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:1
    emit https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:1
    emit https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:1
    emit https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:1
    init https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:1
    processOptions https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:1

A similar uncaught TypeError happens when using the prev/next lightbox buttons to navigate to a non-image media item:
JavaScript:
Uncaught TypeError: b.slide is undefined
    onSlideDisplayed https://xenforo.com/community/js/xf/lightbox-compiled.js?_v=f87c062b:16
 
Notice how the URL of the page doesn't update in the browser address bar when you shift through the media videos too. You can hear the audio from the previous media video when you're on the new media.
Yeah I reported this back in first beta, confirmed, but it's just sat pending :(
 
@Chris D I'm having this issue as well. After upgrading my forum to 2.3.6 and XFMG to 2.3.5, I now notice the sidebar for videos, sometimes embedded media, and all audio files doesn't load. I just see a spinner icon. The content itself is viewable, just no sidebar. It works great for images.

Also, after some testing, it appears that if I browse media directly from the Media Home page, the sidebar for all media works (videos, Youtube embeds, etc.), but, if I navigate to a specific category or member album, the sidebar does NOT show for any media except images and I just get a non-stop spinner graphic. I reproduced this again and again.

I get the same browser console error as already posted.

This is definitely not fixed. :(

Very strange. Help please!
 
Back
Top Bottom