Git Product home page Git Product logo

Comments (14)

A-ANing avatar A-ANing commented on June 9, 2024

小屏的返回吗

from react-native-rn-videoplayer.

aijason avatar aijason commented on June 9, 2024

是的

from react-native-rn-videoplayer.

A-ANing avatar A-ANing commented on June 9, 2024

v2.2.8 showSmallCont = {false}小屏是否显示返回按钮,设为为true
@aijason 好了

from react-native-rn-videoplayer.

aijason avatar aijason commented on June 9, 2024

是因为我安卓手机测试的缘故吗,设置这个属性在安卓上没效果。

from react-native-rn-videoplayer.

A-ANing avatar A-ANing commented on June 9, 2024

更新到2.2.8了吗

from react-native-rn-videoplayer.

aijason avatar aijason commented on June 9, 2024

更新了

from react-native-rn-videoplayer.

aijason avatar aijason commented on June 9, 2024

<VideoPlayer
url={uri}
style={detailStyles.video}
controls
autoPlay={false}
poster={cover}//视频封面
resizeMode='cover'
//ref={(ref)=>this.player=ref}
lockControl={true}
moreSetting={() => null}
statusBar={() => null}
storeComponent={() => null}
showSmallCont={false}
/>

from react-native-rn-videoplayer.

aijason avatar aijason commented on June 9, 2024

display:this.state.smallP?(this.props.showSmallCont?"flex":"none"):"flex", position: this.state.smallP?"relative":"absolute",

from react-native-rn-videoplayer.

aijason avatar aijason commented on June 9, 2024

这样设置好使 https://www.haorooms.com/post/react_native_displaynoneabsulute

from react-native-rn-videoplayer.

aijason avatar aijason commented on June 9, 2024

有空支持下进度条颜色自定义,辛苦了

from react-native-rn-videoplayer.

A-ANing avatar A-ANing commented on June 9, 2024

下个版本我一下改了 10分钟

from react-native-rn-videoplayer.

aijason avatar aijason commented on June 9, 2024

好的,非常感谢

from react-native-rn-videoplayer.

A-ANing avatar A-ANing commented on June 9, 2024

2.2.9 android已修复showSmallCont 增加进度条颜色自定义

- speedColor 当前播放进度条颜色 "#e54602"

- dotColor 进度条上的圆点颜色 "#e54602"

- dotBorderColor 进度条上的圆点被按下时的边框颜色 "rgba(255,255,255,0.3)"

- bottomSpeedColor 最底部播放进度的颜色 "#e54602"

- cachColor 缓冲进度条颜色 "#ffffff"

- allSpeedColor 整个进度条颜色 "rgba(0,0,0,0.4)

from react-native-rn-videoplayer.

aijason avatar aijason commented on June 9, 2024

from react-native-rn-videoplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.