Skip to content

Conversation

@s-brankovic
Copy link

Added headers prop to the Video component due to Youtube videos now can't load without the Referer header.

Comment on lines 51 to 53
if (headers && webViewSource.uri) {
webViewSource.headers = headers;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why like this? Why not passing headers to getSource and resolving headers in that function's result?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants