-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
视频如何铺满整个屏幕? #36
Comments
fullVideoAspectRatio={"16:9"} |
这样子么,我到时看看吧 |
import {StyleSheet, View, Dimensions} from 'react-native'; |
使用1.1.1-beta7版本, |
呃。。。。我把视频宽度调成"120%",居然就解决了这个问题了。。。。 |
楼主是想拉伸铺满?还是等比自适应?另外,请问一下楼主你做这个直播,视频源是rtsp么? |
我想拉伸铺满,现在是把宽度调成120%解决了。 |
还没想好怎么弄,我不做直播 |
你的意思是 超出屏幕的部分不显示?只要不出现黑边就行呗? |
现在高度和宽度都是100%,但是上下还是有黑边。
The text was updated successfully, but these errors were encountered: