GithubHelp home page GithubHelp logo

Video not working on Android about video.js HOT 7 CLOSED

videojs avatar videojs commented on May 14, 2024
Video not working on Android

from video.js.

Comments (7)

pastelpro avatar pastelpro commented on May 14, 2024

Same for me, on HTC Hero, Android 2.1

The message (after a minute more or less) :
200, Stream not found, NetStream.Play.StreamNotFound, cli:'[Clip] 'http:/video-js.zencoder.com/oceans-clip.mp4

This message appears in a white window. At the bottom of the window is written : 2008-2010 Flowplayer L

from video.js.

albertogasparin avatar albertogasparin commented on May 14, 2024

I've managed to get it work!
There are some issues with the Android platform, but by adding some code we can make it work.
Lets start from Android specific issues:

  1. "source" tag must not have a type attribute (or it will not play)
  2. video.canPlayType(str) always return an empty string
  3. mp4 file must be encoded with some small precautions

Point 1 and 2 are fixed on my fork
For the encoding issue I've discovered that on Handbrake you must select the iPhone preset AND check the "Web optimized" box in "Output settings", otherwise Android gives an error.

from video.js.

pastelpro avatar pastelpro commented on May 14, 2024

I'll try your script later, but anyway thanks very much for sharing !

from video.js.

Dijital avatar Dijital commented on May 14, 2024

I have the same issue with the video on your front page right now but I get the same error on my HTC Desire Android 2.1

from video.js.

albertogasparin avatar albertogasparin commented on May 14, 2024

Please try my fork, so we will see if the issue has been fixed.

from video.js.

heff avatar heff commented on May 14, 2024

Video.js 4.0 is available now, so this issue may be fixed or out of date. If you think it's still an issue, please confirm using 4.0 and reopen.

from video.js.

spierala avatar spierala commented on May 14, 2024

still have this issue on android 2.2.1, samsung galaxy s. video not playing. also not the video on the video.js homepage...

from video.js.

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.