Skip to content
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 share not working for external embeds #15

Open
synergies opened this issue Dec 12, 2018 · 2 comments
Open

Facebook share not working for external embeds #15

synergies opened this issue Dec 12, 2018 · 2 comments

Comments

@synergies
Copy link

Received this error when the player is embedded in other domains:

Warning
Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.

Works fine for all other social share. Any ideas on how to resolve this? Also, anyway to prevent a page refresh when pop-up for share shows up?

@avdeev
Copy link
Collaborator

avdeev commented Dec 12, 2018

@synergies You can try changing fbFeed to other type of sharing to Facebook - fbShare or fbButton.

On this line - https://github.com/mkhazov/videojs-share/blob/master/src/defaults.js#L16

@synergies
Copy link
Author

I tried both, but both required the fbAppId and since my Facebook app is associated with our domain anytime the player is embedded in external domain it doesn't work. Any other suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant