Skip to content

Commit 85c3cff

Browse files
committed
[Website] Load React Native Web Player from MaxCDN.
1 parent c1aa68b commit 85c3cff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

website/core/WebPlayer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
var React = require('React');
1313
var Prism = require('Prism');
1414

15-
var WEB_PLAYER_VERSION = '1.1.0';
15+
var WEB_PLAYER_VERSION = '1.2.4';
1616

1717
/**
1818
* Use the WebPlayer by including a ```ReactNativeWebPlayer``` block in markdown.
@@ -59,7 +59,7 @@ var WebPlayer = React.createClass({
5959
style={{marginTop: 4}}
6060
width='880'
6161
height={this.parseParams(this.props.params).platform === 'android' ? '425' : '420'}
62-
data-src={`//npmcdn.com/react-native-web-player@${WEB_PLAYER_VERSION}/index.html${hash}`}
62+
data-src={`//cdn.rawgit.com/dabbott/react-native-web-player/gh-v${WEB_PLAYER_VERSION}/index.html${hash}`}
6363
frameBorder='0'
6464
/>
6565
</div>

0 commit comments

Comments
 (0)