davatron5000 / FitVids.js

A lightweight, easy-to-use jQuery plugin for fluid width video embeds.
http://fitvidsjs.com
4.77k stars 986 forks source link

Safari player displays extremely tall container #238

Closed cmcommons closed 7 years ago

cmcommons commented 8 years ago

http://traderspointcreamery.com/events/fridays-on-the-farm/

The vimeo video player at the bottom of that page is displaying inside an outrageously tall container in Safari only. I am not sure what is causing the issue.

Help?

davatron5000 commented 8 years ago

When I open Web Inspector > Console, I see an error that could be affecting fitVids triggering.

Syntax error, unrecognized expression: [href=#]

In your main.min.js you have

jQuery(this).find(".full-video, .video-shortcode, .wooslider .slide-content").fitVids()

This should work but I think it's being never getting here because of the previous error. There are quite a few references to [href=#] in main.min.js, so it's really hard to debug the problem without a reduced test case or unminified code that I can edit (like a CodePen).

My gut says this is an issue with the theme vendor. I'd maybe reach out to them.