diff --git a/CHANGELOG.md b/CHANGELOG.md index 925e986..c1bba14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # ChangeLog +## 2.0.1 (June 27, 2021) +- Fix: Expo Web [#433](https://github.com/ihmpavel/expo-video-player/issues/433) + ## 2.0.0 (June 20, 2021) - Rewritten, simplified - If you are upgrading from version `1.x`, please check [Migration guide to version 2](https://github.com/ihmpavel/expo-video-player/blob/master/migration-1x-to-2x.md) diff --git a/dist/index.js b/dist/index.js index 2a8762a..024ad67 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,8 +1,8 @@ import { __awaiter, __rest } from "tslib"; import { Audio, Video } from 'expo-av'; -import { ActivityIndicator, Animated, StyleSheet, Text, TouchableNativeFeedback, TouchableWithoutFeedback, View, } from 'react-native'; +import { ActivityIndicator, Animated, StyleSheet, Text, TouchableWithoutFeedback, View, } from 'react-native'; import { ControlStates, ErrorSeverity, PlaybackStates } from './constants'; -import { ErrorMessage, deepMerge, getMinutesSecondsFromMilliseconds, styles } from './utils'; +import { ErrorMessage, TouchableButton, deepMerge, getMinutesSecondsFromMilliseconds, styles, } from './utils'; import { MaterialIcons } from '@expo/vector-icons'; import { defaultProps } from './props'; import { useEffect, useRef, useState } from 'react'; @@ -168,6 +168,7 @@ const VideoPlayer = (tempProps) => { backgroundColor: props.style.videoBackgroundColor, width: videoWidth, height: videoHeight, + maxWidth: '100%', }}>