summaryrefslogtreecommitdiff
path: root/client/src/lib/views/livestream.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/lib/views/livestream.js')
-rw-r--r--client/src/lib/views/livestream.js6
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