Changeset View
Changeset View
Standalone View
Standalone View
native/chat/inline-multimedia.react.js
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | progressIndicator = ( | ||||
<View style={styles.centerContainer}> | <View style={styles.centerContainer}> | ||||
{progressSpinner} | {progressSpinner} | ||||
{progressOverlay} | {progressOverlay} | ||||
</View> | </View> | ||||
); | ); | ||||
} | } | ||||
let playButton; | let playButton; | ||||
if (mediaInfo.type === 'video') { | if (mediaInfo.type === 'video' || mediaInfo.type === 'encrypted_video') { | ||||
playButton = ( | playButton = ( | ||||
<View style={styles.centerContainer}> | <View style={styles.centerContainer}> | ||||
<IonIcon name="ios-play-circle" style={styles.playButton} size={80} /> | <IonIcon name="ios-play-circle" style={styles.playButton} size={80} /> | ||||
</View> | </View> | ||||
); | ); | ||||
} | } | ||||
return ( | return ( | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |