Note that there are some explanatory texts on larger screens.

plurals
  1. POVideoJS not working on mobile
    text
    copied!<p>I am using VideoJS to play videos served up from a fileserver. The files are in mp4 format, and work fine (using Flash fallback) on any desktop browser. However they do not work at all on mobile devices. For reference, feel free to check out:</p> <p><code>http://74.203.203.93/content/aacfc5e7-fbeb-4785-ad04-023856a54a3d</code></p> <p>I've tried to work the code around every which way I can think of to get it to work, but apparently I'm missing something somewhere. Does anyone have any ideas/suggestions?</p> <p>More information:</p> <p>Constants:</p> <ul> <li>Video is in mp4 format (H.264 according to MediaInfo showing video codec being AVC).</li> <li>Multiple formats are not possible (there will be no more than 1 (one) "source" tag).</li> <li>Video file is hosted in a file server without a filename. Browser gets the location, and gets a source type tag.</li> <li>Server is IIS.</li> <li>Server supports byte-range requests.</li> </ul> <p>Attempts so far:</p> <ul> <li><p>Per <a href="http://help.videojs.com/discussions/problems/539-playing-mp4-on-android-using-videojs" rel="nofollow">http://help.videojs.com/discussions/problems/539-playing-mp4-on-android-using-videojs</a></p> <ul> <li>Removed "type='video/mp4'" from tag. </li> <li>Checked MIME types on server, video/mp4 is showing.</li> </ul></li> <li><p>Per <a href="https://github.com/zencoder/video-js/blob/master/docs/api.md" rel="nofollow">https://github.com/zencoder/video-js/blob/master/docs/api.md</a></p> <ul> <li>Added javascript to call play() on ready.</li> </ul></li> <li><p>Extension of above: tried javascript to call play() on click.</p></li> <li><p>Tried adding '.mp4' to the end of the guid in the src location.</p></li> <li>Swapped position of "type" and "src" elements of "source" tag.</li> <li>I have changed the https:// in the source to http:// per several locations saying mobile doesn't do https well.</li> <li>I changed the relative url in the src to an absolute url.</li> </ul> <p>I will update with more information as I continue...</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload