VideoJS Pro
smartphone not working (4 posts)

  1. Ninos
    Posted 4 years ago #

    great plugin, but the video is not working on smartphones like the iphone. I'm using ogg, mp4 and webm..


  2. spartaneye
    Plugin Author

    Posted 3 years ago #

    you need to export a specific iphone encoded quicktime (Quicktime Pro 7 is an easy way to do this) and include mobile="[filename]" in the shortcode

  3. Ninos
    Posted 3 years ago #

    I thought iphone can play mp4..

  4. mjvotaw
    Posted 3 years ago #

    I know this is 6 months old, but I thought I'd throw in my two cents here.

    We just ran into this problem at work, and found that, in video-js-pro.php, when doing the check for mobile, you assume that $mobile_source will always be a useable value. However, if we don't include a $mobile_source video, you overwrite $mp4_source with nothing.

    We simply added

    if($mobile_source != '')
    	$mp4_source = $mobile_source;

    around the assignment on line 208.

    I personally would rather try it to load a video that may or may not work than load no video at all.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • VideoJS Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic