Hi there. I'm mucking around with the video module in the starter templates. When I embed a widescreen video from youtube, there are ugly black bars at top and bottom of the video thumbnail (i.e. letterboxing).
Does any one know how to resolve, or does anyone have an alternate piece of module code that does the same job and fixes the issue?
Hey Jo-
This most likely has to do with the proportions of the container (maybe 16x9) compared to the proportion of the video (maybe 21x9). I don't think the Marketo Starter templates are setup to handle this kind of thing, but we might be able to get away with adding some Custom CSS either to the template or via the LP Editor (under Edit Page Metatags > Custom Head HTML) that'll help address the issue.
Hi,
I've been trying to create a video module today ad the problem actually stems from the thumbnail that is being generated from YouTube's API, e.g. it generates this
https://img.youtube.com/vi/<video-id>/1.jpg
but we want it to generate one without the black, like this
https://i.ytimg.com/vi/<video id>/mqdefault.jpg
or
https://i.ytimg.com/vi/<video id>/maxresdefault.jpg
Maybe Marketo can look into changing the default thumbnail.