openequella / openEQUELLA

Core openEQUELLA sources
https://openequella.github.io/
Apache License 2.0
42 stars 44 forks source link

New Video Gallery: YouTube preview pane in video lightbox defaults and reverts to small - have to refresh to fix #2934

Closed cathfitz closed 3 years ago

cathfitz commented 3 years ago

Describe the bug Currently, when you first go into Video mode and click on a YouTube video, the preview pane is very small. Doing a Ctrl/F5 makes it revert to the normal size. But if you do something in between (like open a Summary page) it reverts back to the small size.

To Reproduce Steps to reproduce the behavior:

  1. Go to Search page
  2. Go to video mode
  3. Click on a YouTube video
  4. Note that it's small
  5. Close the preview pane
  6. Refresh (Ctrl/F5)
  7. Reopen the preview pane for the YouTube video - note it's the proper size.
  8. Close preview pane then open the Resource summary page for a video.
  9. Use the back button or click the Search menu
  10. Preview another YouTube video - it's reverted back to being small again.

Expected behavior The video preview should always show in the larger box

Screenshots Small image Correct size image

Stacktrace If applicable, a stacktrace to help explain your problem.

Platform:

Additional context Add any other context about the problem here.

snehanaik22 commented 3 years ago

Tested.

snehanaik22 commented 3 years ago

closed by mistake.

snehanaik22 commented 3 years ago

Tested.