diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-06-04 18:19:08 -0400 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-06-04 18:19:08 -0400 |
| commit | 06e20cb460faa5c302511f6444c4017d5ebd07e0 (patch) | |
| tree | 6b8aabe718445728b4afe22368b54f826e1a3985 /client/src/lib/views/livestream.js | |
| parent | ed91748ac4aa378bc43a1e9863dcae58ceb7f68e (diff) | |
more mobile hegemony
Diffstat (limited to 'client/src/lib/views/livestream.js')
| -rw-r--r-- | client/src/lib/views/livestream.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/lib/views/livestream.js b/client/src/lib/views/livestream.js index 88c66cf..5df52aa 100644 --- a/client/src/lib/views/livestream.js +++ b/client/src/lib/views/livestream.js @@ -13,7 +13,7 @@ export default class Livestream extends Component { constructor(props) { super() this.state = { - ytid: getYTID(choice(props.content.streams).uri), + ytid: isMobile ? "" : getYTID(choice(props.content.streams).uri), isReady: false, currentTime: 0, duration: 0, @@ -105,13 +105,13 @@ const styles = StyleSheet.create({ }, videoContainer: { justifyContent: 'flex-start', - height: isMobile ? 100 : 400, + height: isMobile ? 0 : 400, width: '100%', padding: 10, }, video: { alignSelf: 'stretch', - height: isMobile ? 100 : 400, + height: isMobile ? 0 : 400, width: '100%', backgroundColor: 'black', marginVertical: 10 |
