fix(android): android cache header (#3832)

* fix: android cache header
This commit is contained in:
lovegaoshi
2024-05-28 00:29:21 -07:00
committed by GitHub
parent 5c29b48747
commit c2a14240ad
3 changed files with 18 additions and 16 deletions

View File

@@ -180,6 +180,7 @@ class VideoPlayer extends Component {
{
description: 'another bunny (can be saved)',
uri: 'https://rawgit.com/mediaelement/mediaelement-files/master/big_buck_bunny.mp4',
headers: {referer: 'www.github.com', 'User-Agent': 'react.native.video'},
},
{
description: 'sintel with subtitles',