2016-10-05 14:36:59 +00:00
|
|
|
import { StyleSheet } from 'react-native';
|
2018-01-19 22:05:59 +00:00
|
|
|
|
2016-10-05 14:36:59 +00:00
|
|
|
/**
|
2017-06-10 22:50:42 +00:00
|
|
|
* The styles of the feature base/media.
|
2016-10-05 14:36:59 +00:00
|
|
|
*/
|
2017-06-10 22:50:42 +00:00
|
|
|
export default StyleSheet.create({
|
2018-04-07 07:52:38 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Base style of the transformed video view.
|
|
|
|
*/
|
|
|
|
videoTranformedView: {
|
|
|
|
flex: 1
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A basic style to avoid rendering a transformed view off the component,
|
|
|
|
* that can be visible on special occasions, such as during device rotate
|
|
|
|
* animation, or PiP mode.
|
|
|
|
*/
|
2018-08-05 22:18:14 +00:00
|
|
|
videoTransformedViewContainer: {
|
2018-04-07 07:52:38 +00:00
|
|
|
overflow: 'hidden'
|
|
|
|
},
|
|
|
|
|
2018-01-11 13:13:20 +00:00
|
|
|
/**
|
|
|
|
* Make {@code Video} fill its container.
|
|
|
|
*/
|
|
|
|
video: {
|
|
|
|
flex: 1
|
|
|
|
}
|
2016-10-05 14:36:59 +00:00
|
|
|
});
|