Code Monkey home page Code Monkey logo

Comments (18)

arianneorpilla avatar arianneorpilla commented on August 15, 2024

Ah, whoops. Mispressed with the issue close.

Please provide more details, like your device make and model, Android version, what video you're playing and whatever else you're loading onto the app.

Occasionally some videos won't play and that prompts me to exit back to the menu and try again, but I've never encountered a local video that refuses to play after attempting again. If you can help provide details that will assist me in reproducing this issue, it would really let me sort this out.

All of the videos I've been testing with have actually been Matroska videos so they should be playing.

from jidoujisho.

CupricAdamo avatar CupricAdamo commented on August 15, 2024

My smartphone is a xiaomi redmi 9c. Android 10qp1a, MIUI 12.0.6.
I tried many times to view two different videos of 1gb or more. I can say this videos aren't broken because I can view them with MI video player and VLC.

from jidoujisho.

arianneorpilla avatar arianneorpilla commented on August 15, 2024

EDIT FOR ARCHIVAL PURPOSES: This is ill-advised information and I wrote this not knowing and properly implementing the workaround. What worked was changing the target SDK to 29, using legacy storage and using an older file_picker version. This made the app work on Android 11 with no caching, tested on an emulator and users report no issues so far ever since.

How much storage space do you have left remaining on your phone? Due to the scoped storage changes in Android 11, videos have to be cached into temporary storage (as in, they have to be copied by the app into storage to play, thus you will need twice the size of the videos you are playing). Currently, I clear this cache every time the app starts. If your amount of free space is just below the size of the video file you have chosen, the video would be unable to play.

I implemented a change in how files are selected in order to allow Android 11 users to use the app, at the cost of loading time and storage space issues. This is a change that was not necessary in prior versions of the app before 0.3.2, and it is a requirement for the app to work on versions above Android 10.

If this is indeed the issue you are facing, I would just like to express that I am also very unhappy with this change as I am an Android 10 user who now experiences slower video playback on my own app and would like to bring back the faster, instant video playback without any storage requirements or workarounds required to let users run the app on Android 11. I will probably implement two versions for users to download so that they can choose between the two options.

In the meantime, I recommend that you use a version below 0.3.2 if you wish to use the app without these storage issues. Please do confirm if this guess is correct, though. It may be a legitimate player issue.

from jidoujisho.

arianneorpilla avatar arianneorpilla commented on August 15, 2024

That does make it a player issue. Could you let me know some details on the file you are playing?

from jidoujisho.

CupricAdamo avatar CupricAdamo commented on August 15, 2024

It's a .mkv file, 1.59gb, works on vlc and mi video. Now tried to view a 6mb .kjv file, it didn't work. But it worked with .mp4 files.

from jidoujisho.

CupricAdamo avatar CupricAdamo commented on August 15, 2024

I'll download an older version how you suggested

from jidoujisho.

arianneorpilla avatar arianneorpilla commented on August 15, 2024

The app's video player uses ExoPlayer, which has a list of supported formats which can be found here. I have used MKV videos in my testing and found no major issues that prevented me from playing my videos. If you can provide more details in regards to the video you are playing, I may be able to reproduce the issue.

If you can, please send me a log or a screenshot with information about the video file which you can get via this application or something similar. It is concerning to me that some video files may not work with the application, so please let me know if you can provide more details.

from jidoujisho.

CupricAdamo avatar CupricAdamo commented on August 15, 2024

How do I send them?

from jidoujisho.

arianneorpilla avatar arianneorpilla commented on August 15, 2024

You may copy paste the entire log here or attach the photos in your comment while you're editing them.

from jidoujisho.

CupricAdamo avatar CupricAdamo commented on August 15, 2024

Screenshot_2021-02-07-12-11-52-953_com google android apps docs

from jidoujisho.

CupricAdamo avatar CupricAdamo commented on August 15, 2024

Screenshot_2021-02-07-12-12-14-267_com google android apps docs

from jidoujisho.

CupricAdamo avatar CupricAdamo commented on August 15, 2024

That was the biggest file i have

from jidoujisho.

CupricAdamo avatar CupricAdamo commented on August 15, 2024

This is the smallest
Screenshot_2021-02-07-12-19-04-909_com google android apps docs

from jidoujisho.

CupricAdamo avatar CupricAdamo commented on August 15, 2024

Both of them don't work on jidoujisho for me

from jidoujisho.

arianneorpilla avatar arianneorpilla commented on August 15, 2024

Thank you, this is very useful. I'll look into what alternatives I can use for the video player to solve this issue.

from jidoujisho.

arianneorpilla avatar arianneorpilla commented on August 15, 2024

I should be able to support these formats in the upcoming release. I will keep this issue open until that version is released.

from jidoujisho.

arianneorpilla avatar arianneorpilla commented on August 15, 2024

Unfortunately, I don't suppose I can migrate the application to VLC in a stable manner so I don't think I can fix this at the moment until significant updates. In the meantime, the app should support anything that ExoPlayer supports on Android -- alternate videos would have to be found otherwise unfortunately.

I think implementing YouTube as is in addition to keeping subtitles working the way they are would have to change otherwise. I'll close this issue but feel free to bring it up should more significant issues arise.

from jidoujisho.

arianneorpilla avatar arianneorpilla commented on August 15, 2024

I am briefly reopening this issue to announce that I have recently migrated the app to use VLCKit in the 0.6.0 release and that the videos you are having issues with should now be compatible.

If there are any further issues, please let me know. And with that, I am closing this issue.

from jidoujisho.

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.