WordPress.org

Ready to get started?Download WordPress

Forums

VideoJS Pro
smartphone not working (4 posts)

  1. Ninos
    Member
    Posted 2 years ago #

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

    http://wordpress.org/extend/plugins/videojs-pro/

  2. spartaneye
    Member
    Plugin Author

    Posted 2 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
    Member
    Posted 2 years ago #

    I thought iphone can play mp4..

  4. mjvotaw
    Member
    Posted 1 year 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

About this Topic