MukurtuCMS / mukurtucms

GNU General Public License v2.0
81 stars 36 forks source link

Video thumbnails not displaying in browse results #118

Open mkudzia opened 5 years ago

mkudzia commented 5 years ago

After updating to the newest version available on Reclaim hosting (I think 2.1.2), I am not seeing thumbnails show up for YouTube-hosted videos in browse results. All the other types of content have thumbnails displaying correctly. I've checked the "manage display" options and "Mukurtu Scald Thumbnail Image" is selected under "Media Assets" to display to the left. I also tried double-checking that the thumbnails are the correct size and resolution. It's possible I haven't done this correctly, but it didn't make a difference either.

Have you had other reports of this problem? Do you know what might be causing this?

taylor-steve commented 5 years ago

I'd try the following:

  1. Flush all caches (as site admin, home icon -> Flush all caches) and/or force refresh your browser (usually ctrl + shift + r or cmd + shift + r).
  2. Check /update.php, are there pending updates? Reclaim's update script sometimes does not complete the updates. If there are pending updates, it's very possible that there are features that did not get reverted either.
  3. Check the scald context at admin/structure/scald/video/contexts, make sure the transcoder is set to passthrough and the player is set to default or Mukurtu default.

Hope that helps! If that doesn't work, let me know which version you were on prior to the update, if you remember.

mkudzia commented 5 years ago

Hi Steve,

Thanks for the help! I tried flushing the caches, but I will take a stab at the other two suggestions. I co-develop this site with a colleague, and I might need to pass some of these instructions to her and have her try them due to our permissions situation, but both of those seem promising! She will also be able to check for sure which version we were on before the update.

Thanks again, and hopefully I'll have good news soon!

mkudzia commented 5 years ago

Hello again, Steve,

Well, it doesn't look like we have any updates pending, and the transcoder and player settings are as you said they ought to be (transcoder > passthrough and player > default). I think we were on 2.0.8 before we made the upgrade.

Should I circle back around and triple-check the image dimensions? FWIW I went and looked at the web display code (using Inspect Element) and it looks as though there's a place being held for that image (it's using an iframe, unlike some of the other material types we have), but no image is appearing in that spot. Is that helpful at all?

Thanks, Megan

taylor-steve commented 5 years ago

What is being displayed for those items? It's just an empty iframe? Are there any javascript errors in the browser's console (f12 on most browsers)? Are any of these items public facing such that you could link to examples? Thanks.

mkudzia commented 5 years ago

There's just an empty spot displaying. I was getting some console errors, but it looks like those were related to my ad blocker - I turned those off and reloaded but the thumbnails still aren't appearing, and my colleague is also noticing the behavior although I don't think she has an ad-blocker enabled. Sure thing! The URL to the browse results page is: http://smit1550.msu.domains/education/digital-heritage Right now my top result is showing as "Navajo Weaver Clara Sherman Carding and Spinning," and that's one of the videos, so it has a missing thumbnail. Some others with missing thumbnails are: "Clara Sherman From Sheep to Rug," and "Teachers Episode: Barbara Teller Ornelas & Lynda Teller Pete." If you go to an individual item result page (http://smit1550.msu.domains/education/digital-heritage/navajo-weaver-clara-sherman-carding-and-spinning), the thumbnail shows up there. Weird! Thanks again for all your help!

taylor-steve commented 5 years ago

It appears you have a display:none in your stylesheet (style.css:2600):

.view-id-digital_heritage_grid_list iframe {
    display: none;
}

I don't think that's a stock setting, if you remove it or make it more specific your video thumbnails should show up. Let me know if that works!

mkudzia commented 5 years ago

Oh boy, that's embarrassing - I am not sure when we put that in, but we must have somehow! I will remove that, and I bet that fixes it.

Thanks so much, I can't believe I didn't catch that!