Git Product home page Git Product logo

Comments (9)

A-ANing avatar A-ANing commented on June 26, 2024 1

全屏会有问题

from react-native-rn-videoplayer.

roycehe avatar roycehe commented on June 26, 2024

全屏会有问题

是的和我测试的一样 使用react-native-video 全屏都会被遮住 如果用modal方式弹出视频的话又不够刘畅

from react-native-rn-videoplayer.

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

需要原生配合 才能达到不会重置缓存进度

from react-native-rn-videoplayer.

roycehe avatar roycehe commented on June 26, 2024

大佬 有解决的思路吗, 正为这个发愁

from react-native-rn-videoplayer.

roycehe avatar roycehe commented on June 26, 2024

对了还有个问题,视频宽度不等于屏幕宽度的时候拖动进度条会偏移这个 在哪里修正哈

from react-native-rn-videoplayer.

orzhtml avatar orzhtml commented on June 26, 2024

目前有办法解决么?

from react-native-rn-videoplayer.

wulaizi avatar wulaizi commented on June 26, 2024

对了还有一个问题,视频宽度不等于屏幕宽度的时候预定进度条会替换这个在哪里修正哈

给视频加个属性 即可 作者视频 默认用 的 resizeMode={'none'} 你把视频改成 resizeMode={'contain'} 即可解决全屏问题
安卓的话 还需要在settings.gradle中引入react-native-video 作者已经给出了解决的方案

from react-native-rn-videoplayer.

roycehe avatar roycehe commented on June 26, 2024

对了还有一个问题,视频宽度不等于屏幕宽度的时候预定进度条会替换这个在哪里修正哈

给视频加个属性 即可 作者视频 默认用 的 resizeMode={'none'} 你把视频改成 resizeMode={'contain'} 即可解决全屏问题
安卓的话 还需要在settings.gradle中引入react-native-video 作者已经给出了解决的方案

你说的不是列表全屏吧,如果是可以贴个代码参考吗

from react-native-rn-videoplayer.

zscm avatar zscm commented on June 26, 2024

对了还有一个问题,视频宽度不等于屏幕宽度的时候预定进度条会替换这个在哪里修正哈

给视频加个属性 即可 作者视频 默认用 的 resizeMode={'none'} 你把视频改成 resizeMode={'contain'} 即可解决全屏问题
安卓的话 还需要在settings.gradle中引入react-native-video 作者已经给出了解决的方案

你说的不是列表全屏吧,如果是可以贴个代码参考吗

你每次全屏的时候把要全屏的video滚动到屏幕上方第一个video的位置,全屏应该就没问题了吧

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.