Skip to content
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

Fixed: Zimit2 Youtube video still doesn't play on Android reader. #3879

Merged
merged 1 commit into from
Jun 13, 2024

Commits on Jun 12, 2024

  1. Fixed: Zimit2 Youtube video still doesn't play on Android reader.

    * YouTube videos were not playing in the Android reader because the response code for the video URL was 206 (Partial Content). The `Content-Range` header of the incoming data was being set incorrectly. This happened because the `data` had a size of 0, as the content was being written on the IO thread (to avoid blocking the UI thread) when loading in the WebView. Due to this, the `Content-Range` was set incorrectly, preventing the YouTube video from playing.
    * To fix this, the correct content length is now passed to the `Content-Range` header, ensuring that the video plays correctly.
    MohitMaliDeveloper committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    36afec6 View commit details
    Browse the repository at this point in the history