|
@@ -48,7 +48,6 @@ const DefaultPlayer = ({
|
48
|
48
|
playbackrates = JSON.parse(playbackrates);
|
49
|
49
|
}
|
50
|
50
|
let onScreenClickCallback = restProps['onScreenClickCallback'];
|
51
|
|
-
|
52
|
51
|
return (
|
53
|
52
|
<div className={[
|
54
|
53
|
styles.component,
|
|
@@ -150,7 +149,7 @@ const connectedPlayer = videoConnect(
|
150
|
149
|
video: {
|
151
|
150
|
readyState,
|
152
|
151
|
networkState,
|
153
|
|
- error: error || networkState === 3,
|
|
152
|
+ error: error || (readyState > 0 && networkState === 3),
|
154
|
153
|
// TODO: This is not pretty. Doing device detection to remove
|
155
|
154
|
// spinner on iOS devices for a quick and dirty win. We should see if
|
156
|
155
|
// we can use the same readyState check safely across all browsers.
|