2016-10-05 09:36:59 -05:00
|
|
|
import { StyleSheet } from 'react-native';
|
2022-08-01 18:28:30 +03:00
|
|
|
|
2016-10-05 09:36:59 -05:00
|
|
|
/**
|
2017-06-10 17:50:42 -05:00
|
|
|
* The styles of the feature base/media.
|
2016-10-05 09:36:59 -05:00
|
|
|
*/
|
2017-06-10 17:50:42 -05:00
|
|
|
export default StyleSheet.create({
|
2018-04-07 02:52:38 -05: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 17:18:14 -05:00
|
|
|
videoTransformedViewContainer: {
|
2018-04-07 02:52:38 -05:00
|
|
|
overflow: 'hidden'
|
|
|
|
|
},
|
|
|
|
|
|
2022-08-01 17:35:14 +03:00
|
|
|
videoTransformedViewContainerWide: {
|
|
|
|
|
overflow: 'hidden',
|
2023-01-10 15:31:57 +02:00
|
|
|
paddingRight: '16%'
|
2022-08-01 17:35:14 +03:00
|
|
|
},
|
|
|
|
|
|
2018-01-11 14:13:20 +01:00
|
|
|
/**
|
|
|
|
|
* Make {@code Video} fill its container.
|
|
|
|
|
*/
|
|
|
|
|
video: {
|
|
|
|
|
flex: 1
|
|
|
|
|
}
|
2016-10-05 09:36:59 -05:00
|
|
|
});
|