Closed (fixed)
Project:
Media: oEmbed
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
8 Apr 2016 at 07:50 UTC
Updated:
11 Jul 2016 at 20:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gollyg commentedAdding a check in the formatter to see if we are in the WYSIWYG picker. If we are, use the thumbnail representation.
Image style needs work. Ideally it would load up the oembed Thumbnail settings for the given view mode.
Comment #3
gollyg commentedAdded a lookup for the default thumbnail image style.
Comment #4
gollyg commentedComment #5
davisbenThe patch in #3 works perfect for me.
Comment #6
danielveza+1 on the patch in #3
Comment #7
devin carlson commentedThe check for
$file->override['wysiwyg']is sufficient as File Entity's file display can be configured to either call the oEmbed thumbnail formatter after the oEmbed formatter fails and will default to "Large filetype icon" if no acceptable formatter is found.I'd also recommend embedding files using Entity Embed or another solution which doesn't require this workaround.
Comment #8
devin carlson commentedTested #7 and committed to Media: oEmbed 7.x-2.x.