Giter Club home page Giter Club logo

Comments (8)

linsea avatar linsea commented on May 27, 2024

你是运行里面的Demo还是你自己的项目而无法播放视频? 有什么现象吗?

from universalvideoview.

Lxinyuelxy avatar Lxinyuelxy commented on May 27, 2024

你好,我是自己新建的一个Demo
截图
截图

from universalvideoview.

linsea avatar linsea commented on May 27, 2024

你是否处理了Activity横屏时生命周期重建的方法? 可否把代码贴出来看看?

from universalvideoview.

Lxinyuelxy avatar Lxinyuelxy commented on May 27, 2024

你好,我是直接把universalviewsample中MainActivity和布局文件中的代码贴在新建的Demo中,相应权限也加了。

from universalvideoview.

linsea avatar linsea commented on May 27, 2024

有没有错误log? 你是什么型号的手机? 那你在7.0以下的版本上跑一样的代码的话横屏有问题吗?
我现在手上没有7.0的手机, 等我找个7.0版本的手机再看看.

from universalvideoview.

Lxinyuelxy avatar Lxinyuelxy commented on May 27, 2024

E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0

E/System: Uncaught exception thrown by finalizer E/System: java.lang.IllegalStateException: Binder has been finalized! at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(Binder.java:628) at com.android.internal.app.IAppOpsService$Stub$Proxy.stopWatchingMode(IAppOpsService.java:435) at android.media.PlayerBase.baseRelease(PlayerBase.java:136) at android.media.MediaPlayer.finalize(MediaPlayer.java:3721) at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:222) at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:209) at java.lang.Thread.run(Thread.java:761)
型号是三星盖乐世.
用API22的模拟器横屏可以播放.

from universalvideoview.

linsea avatar linsea commented on May 27, 2024

我在7.0的官方模拟器上跑universalviewsample横屏没有问题,你仔细对比下你自己的DEMO与universalviewsample项目的所有文件,看是否哪儿不对了。

from universalvideoview.

Lxinyuelxy avatar Lxinyuelxy commented on May 27, 2024

好的,那我再看看,谢谢了.

from universalvideoview.

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.