-
Notifications
You must be signed in to change notification settings - Fork 985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facebook have updated their embed code #232
Comments
I've had to change the embedded video to YouTube for the moment, just in case you check that link and wonder what I've been smoking! |
@robertsimpson Can you make a CodePen of the issue since your page has changed? Without any code samples I'll have to close the issue. We don't officially support the FB video embed, although that's been proposed in #225. |
@davatron5000 Sorry Dave, I was away for a few days. Here's a CodePen link: https://codepen.io/robertsimpson/pen/XdxMLY |
@davatron5000 Hi Dave, did you manage to take a copy of the example code I posted? |
https://codepen.io/davatron5000/pen/bZWrbr?editors=0010 Sorry I had to fork your pen. Normally when we ask for a "reduced test case" we're looking for the minimal amount of code to isolate the problem. I got Fitvids+Facebook working using the |
Hi Dave, does the customSelector flag limit what fitVids() targets? If not, that looks good! |
@robertsimpson |
Hi Dave,
I'm not sure if you're aware, but Facebook have recently updated their video embed code and are now using an iframe instead of JS.
As you can probably guess by this post being here things aren't behaving as expected.
You can see what I mean here: http://bit.ly/20Ymsb3
Facebook have really made a mess of this as their code throws a lot of console errors.
Any ideas?
Cheers,
Robert
The text was updated successfully, but these errors were encountered: