Closed (fixed)
Project:
Panopoly
Version:
7.x-1.22
Component:
Images
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Jun 2015 at 20:30 UTC
Updated:
31 Jul 2015 at 20:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dsnopekMarking as "Critical" because this is a regression!
Comment #2
mpotter commentedUpdating to latest media_vimeo module doesn't fix this, so likely something in the latest Media?
Comment #3
dsnopekThis could have been caused by the upgrade to Media 2.0-alpha4: #2445119: Update Media to 2.0-alpha4
To test we can try reverting to the version of Media from Panopoly 1.21. Here's the .make excerpt:
Comment #4
dsnopekYou can get the checkbox to save by doing the following:
It seems like something might be wrong with that form, or the config we have saved in Features breaking that form...
Comment #5
mpotter commentedThis might be a red-herring. Vimeo previews are broken in Atrium in the Media Gallery paragraph (and show a Manual Crop image style for some reason).
If I embed a vimeo video with WYSIWYG and select Preview mode, it works.
If I enter a vimeo video into the normal Attachments field in an Atrium document, it works.
So it's just a Paragraphs issue, so I'll dig into this for Atrium. Moving this back to Normal since this checkbox and illegal selection seems to have been around for a long time and isn't as big an issue as I thought.
Comment #6
mglamanIssue here is a stale Vimeo file display export, going to work on patch now.
Comment #7
mglamanI think the issue is this logic in hook_file_default_displays_alter(). It was setting the protocol to // which is invalid.
Comment #8
mglamanTravis run off of my fork https://travis-ci.org/mglaman/panopoly/builds/70542646
Comment #9
dsnopekActually, I think it would be better to not specify a protocol at all. Here's an attempt at a patch to do that!
EDIT: Here's the Travis build: https://travis-ci.org/panopoly/panopoly/builds/71441582
Comment #10
elijah lynnLooks good! Tested it and the config form saves without errors and the Vimeo preview image now shows in the WYSIWYG area.
Comment #11
dsnopek@Elijah: Thanks for testing! Committed. :-)