# Alternative to mp4 video for android phone clients?

**URL:** <https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286>\
**Category:** KA Lite\
**Tags:** installation, videos, android\
**Created:** [July 10, 2017, 7:53am UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286 "2017-07-10T07:53:32Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![remolacha](https://avatars.discourse-cdn.com/v4/letter/r/e19b73/32.png) [@remolacha](https://community.learningequality.org/u/remolacha)\
**Post date:** [July 10, 2017, 7:53am UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/1 "2017-07-10T07:53:32Z")

</div>

Hi everyone. I’m working on a project in Limpopo province, South Africa wherein 900 low-income students have been given basic Android handsets. We’d love to be able to provide KA Lite at their schools (which have no computers) by setting up KA Lite servers on old hardware running linux with wifi access points. The trouble is that Android phones don’t like the mp4 format.

Questions:  
Is there a non-mp4 version of KA Lite?  
If not, has anyone tried re-encoding - perhaps via a script that walks the db, executes a re-encoder, and updates video filenames?  
Does anyone have better ideas?

Thanks!  
Josh Merrow

---

<div class="post-metadata">

**Author:** ![remolacha](https://avatars.discourse-cdn.com/v4/letter/r/e19b73/32.png) [@remolacha](https://community.learningequality.org/u/remolacha)\
**Post date:** [July 27, 2017, 9:22am UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/2 "2017-07-27T09:22:05Z")

</div>

Update - the problem isn’t the videos, which play on the phones when linked to directly. I suspect it’s the javascript player implementation, not working on android 5.1. Short of updating the 900 phones, which I’m not sure is technically or logistically possible, anyone have any ideas?

Thanks  
Josh

---

<div class="post-metadata">

**Author:** ![Felipe\_Rechia](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/felipe_rechia/32/79_2.png) [@Felipe\_Rechia](https://community.learningequality.org/u/Felipe_Rechia)\
**Post date:** [July 27, 2017, 12:57pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/3 "2017-07-27T12:57:26Z")

</div>

Hello Josh,

I am also working on a project using KA Lite.

I believe we have experienced a similar problem to yours. Was the video frame just black when accessing the video page? We also noticed that the video would play in the same browser if a direct link to the mp4 file was given. Is this what happens to you?

In our case, a few Android devices were playing the videos (Android 4.4.1 and older versions of chrome and firefox), while newer devices wouldn’t (Android 7, latest versions of chrome and firefox available from the google play store).

So far I haven’t been able to determine the problem in the Android tablets, as I still don’t know how to use browser developer tools in them, and I don’t have access to the devices at the moment.

On a side note: I was testing with different browsers from a Linux desktop (Firefox ESR 52.2.0 (64-bit)), and I noticed that I got a JS error similar to this (it was in portuguese, so I translated it):

> Specified attribute “type video/mp4” is not supported. Loading /content/kTiLMIrBWfU.mp4 failed  
> …  
> It is not possible to reproduce this media. There are no decoders for the required format: video/mp4

Perhaps my firefox browser error is similar to what is happening to the Android devices?

---

<div class="post-metadata">

**Author:** ![radina-matic](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/radina-matic/32/9_2.png) [@radina-matic](https://community.learningequality.org/u/radina-matic)\
**Post date:** [July 27, 2017, 2:07pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/4 "2017-07-27T14:07:19Z")

</div>

Hi Josh & Felipe,

I confirmed the issue you are reporting on 3 Android devices I have available, and [filled an issue on our GitHub](https://github.com/learningequality/ka-lite/issues/5492). If you can, update the issue with the models that you are using so we can keep track of where it fails.

Did you try on Chrome browser? It worked for me on Android 4.4.4 and 6.0.1.

Cheers,  
Radina

---

<div class="post-metadata">

**Author:** ![benjamin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/benjamin/32/574_2.png) [@benjamin](https://community.learningequality.org/u/benjamin)\
**Post date:** [July 27, 2017, 3:39pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/5 "2017-07-27T15:39:06Z")

</div>

Hi all,

We have a similar report from a Rachel update. In their case, they updated from 0.16 to 0.17 and with this update comes a newer version of video-js, the library used for the video player in the browser. While we had good reasons for the update, it seems to have broken some backwards compatibility.

@remolacha would you be able to try out 0.16 on one of these devices and report back about whether video playback is fixed this way? Thanks!

---

<div class="post-metadata">

**Author:** ![benjamin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/benjamin/32/574_2.png) [@benjamin](https://community.learningequality.org/u/benjamin)\
**Post date:** [July 27, 2017, 3:41pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/6 "2017-07-27T15:41:04Z")

</div>

They fixed their issue, but it’s totally understandable that this may not be possible for all!

> Hi guys - just a quick update, we were able to deliver the latest versions of android 4.x compatible Firefox and Chrome APKs to RACHEL in the field where the tablets could then side load the APKs when connected to RACHEL. The latest Firefox did not fix the video playing issue but the latest Chrome did. Oh happy days. Oh happy days. Thank you immensely for the pointers which helped us narrow our scope of focus for solutions.

---

<div class="post-metadata">

**Author:** ![remolacha](https://avatars.discourse-cdn.com/v4/letter/r/e19b73/32.png) [@remolacha](https://community.learningequality.org/u/remolacha)\
**Post date:** [July 27, 2017, 3:54pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/7 "2017-07-27T15:54:56Z")

</div>

Hi Benjamin

We haven’t installed KA Lite yet, as we’re not sure it’s going to work with our phones. Is there a .16 install anywhere that’s accessible from outside?

(This isn’t laziness, I’m not at the site now and don’t have one of these phones on me)

Thanks  
Josh

---

<div class="post-metadata">

**Author:** ![radina-matic](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/radina-matic/32/9_2.png) [@radina-matic](https://community.learningequality.org/u/radina-matic)\
**Post date:** [July 27, 2017, 4:08pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/8 "2017-07-27T16:08:36Z")

</div>

@remolacha You can try viewing the KA Lite demo server, it’s still on version 0.16.9:

[http://demo.learningequality.org/](http://demo.learningequality.org/)

---

<div class="post-metadata">

**Author:** ![remolacha](https://avatars.discourse-cdn.com/v4/letter/r/e19b73/32.png) [@remolacha](https://community.learningequality.org/u/remolacha)\
**Post date:** [July 27, 2017, 4:14pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/9 "2017-07-27T16:14:59Z")

</div>

Ah. That’s what we’ve been using. I didn’t realize it wasn’t the latest version.

---

<div class="post-metadata">

**Author:** ![Felipe\_Rechia](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/felipe_rechia/32/79_2.png) [@Felipe\_Rechia](https://community.learningequality.org/u/Felipe_Rechia)\
**Post date:** [July 27, 2017, 6:34pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/10 "2017-07-27T18:34:33Z")

</div>

We did try both FF and Chrome, neither worked.

I’ll try to get more information about android and browser versions soon, as I don’t have those devices with me. I’ll update the github issue then.

Thanks!

Felipe

---

<div class="post-metadata">

**Author:** ![benjamin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/benjamin/32/574_2.png) [@benjamin](https://community.learningequality.org/u/benjamin)\
**Post date:** [July 27, 2017, 10:29pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/11 "2017-07-27T22:29:30Z")

</div>

> [@remolacha](#):
>
> Ah. That’s what we’ve been using. I didn’t realize it wasn’t the latest version.

Okay - just to be clear: You tried the demo server (which confusing as it is runs 0.16.9) and you haven’t tried the latest 0.17, right?

I will get a 0.17 version up and running publicly tomorrow, and you can try that one…

---

<div class="post-metadata">

**Author:** ![remolacha](https://avatars.discourse-cdn.com/v4/letter/r/e19b73/32.png) [@remolacha](https://community.learningequality.org/u/remolacha)\
**Post date:** [July 28, 2017, 6:34am UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/12 "2017-07-28T06:34:10Z")

</div>

That’s correct. Thanks for setting up 0.17, very kind of you.

---

<div class="post-metadata">

**Author:** ![benjamin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/benjamin/32/574_2.png) [@benjamin](https://community.learningequality.org/u/benjamin)\
**Post date:** [July 28, 2017, 12:24pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/13 "2017-07-28T12:24:11Z")

</div>

Hi @remolacha - made a demo server available here… running on a Raspberry Pi: [http://kalite.overtag.dk:8008/](http://kalite.overtag.dk:8008/)

Update: Videos available, running 0.17.1 now (which also contains the video-js update)

---

<div class="post-metadata">

**Author:** ![remolacha](https://avatars.discourse-cdn.com/v4/letter/r/e19b73/32.png) [@remolacha](https://community.learningequality.org/u/remolacha)\
**Post date:** [July 29, 2017, 2:14pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/14 "2017-07-29T14:14:50Z")

</div>

Very kind of you! Thanks. Will test.

---

<div class="post-metadata">

**Author:** ![remolacha](https://avatars.discourse-cdn.com/v4/letter/r/e19b73/32.png) [@remolacha](https://community.learningequality.org/u/remolacha)\
**Post date:** [August 14, 2017, 11:07pm UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/15 "2017-08-14T23:07:36Z")

</div>

We tested with a fresh local install and the videos play with firefox, but not chrome, which is good enough for us. Thanks everyone for all your help!

---

<div class="post-metadata">

**Author:** ![fhenson1](https://avatars.discourse-cdn.com/v4/letter/f/9de0a6/32.png) [@fhenson1](https://community.learningequality.org/u/fhenson1)\
**Post date:** [December 17, 2017, 4:49am UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/16 "2017-12-17T04:49:34Z")

</div>

We have been using windows computers as the Kalite server. We have several locations running Kalite in remote areas.

We have hundreds of Android tablets and phones as well as computers for the students to view videos and solve problems. The phones and tablets have all been cheap and cost less than $75. We have been successful and the students are able to view the videos. We have found several browsers will work but Google Chrome is the most reliable.

---

<div class="post-metadata">

**Author:** ![radina-matic](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/radina-matic/32/9_2.png) [@radina-matic](https://community.learningequality.org/u/radina-matic)\
**Post date:** [December 19, 2017, 9:58am UTC](https://community.learningequality.org/t/alternative-to-mp4-video-for-android-phone-clients/286/17 "2017-12-19T09:58:58Z")

</div>

Hi @fhenson1, thank you very much for the update!  
We are very happy KA Lite is working well for you.

In case you haven’t done it already, please [share your story](http://learningequality.org/ka-lite/map/add/) on our [deployments map](http://learningequality.org/ka-lite/map/)!
