I have been using an earlier version of Video Embed Field, showing a YouTube thumbnail that links to a Colorbox video. Worked fine.

Now that I switched CDN module on (in Origin Pull mode), the thumbnail does not show any more. The path looks fine -- e.g. //d1tfc9ry4pmsvo.cloudfront.net/sites/default/files/styles/custom_400x___/public/video_embed_field_thumbnails/youtube/yUBYMBh5sq8.jpg?itok=IUGHHJGv -- but the image is broken. When I load the image separately, I get error 403.

Updated to 7.x-2.0-beta7, cleared caches, re-saved the node, etc. -- no help.

I have avoided the problem by putting */video_embed_field_thumbnails/* in the file blacklist at admin/config/development/cdn/other but of course that is just a workaround.

Ideas?

Comments

hugronaphor’s picture

I think the patch on https://www.drupal.org/node/2145057#comment-11252795 might help as it will detect correctly file scheme.