Use npmcdn in docs instead of rawgit for web player

Summary:
Switch web player cdn to npmcdn per discussion with lacker. This will make the url agnostic to who owns the git repo.
Closes https://github.com/facebook/react-native/pull/8426

Differential Revision: D3488755

Pulled By: lacker

fbshipit-source-id: b54dd4428a48c8a5a15b0b38ee0564d119916f9b
This commit is contained in:
Devin Abbott 2016-06-27 10:50:27 -07:00 committed by Facebook Github Bot 8
parent e3b5948392
commit 550db2fda0
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ var WebPlayer = React.createClass({
style={{marginTop: 4}}
width='880'
height={this.parseParams(this.props.params).platform === 'android' ? '425' : '420'}
data-src={`//cdn.rawgit.com/dabbott/react-native-web-player/v0.1.3/index.html${hash}`}
data-src={`//npmcdn.com/react-native-web-player@1.0.0/index.html${hash}`}
frameBorder='0'
/>
</div>