Video embed size JS, not working in child theme

Posted in: Newspaper
Post count: 42

You guys have the wrong video size coded in your theme for youtube. Why you guys don’t change it is beyond reasoning, unless you like black bars on the top and bottom of your videos. Regardless at least you provide instructions on how to change the JS file in the theme. I can live with that but you really should change it in the parent theme.

Anyways, I have a child theme, I specified the same path /js folder. I have my modified versions of the js file and the minified js file. But for some reason it doesn’t work. If I place these files in the parent theme it works.

Any clues as to why this would be?

Thanks.

Post count: 7909

Hi,

Unfortunately the javascript file cannot be overwritten via child theme and you will have to make this change in the main theme. I have added this on our list, maybe we will find a better implementation for aspect ratio(black borders).

Thanks!

Post count: 42

Youtube changed their player dimensions earlier this year. But you guys haven’t change your code. It will be quite a pain to manually make this change after each update. The dimensions are the same as the vimeo settings. You guys really should update your code.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.