leomancini
leomancini

Reputation: 718

HTML5 video tag unreliable on iOS

I'm using PhoneGap to make an iPhone app that contains video. Usually, it works great: the video sits in an HTML5 video tag and it shows the iOS play button and then plays full screen.

But, sometimes the play button has a line through it and the user can't play the video.

I can't seen to figure out exactly what causes this, as it is sporadic and doesn't seem to be connected to any other issues.

Any help on making this more reliable would be appreciated. The code is a very simple video tag with src, poster, width and height attributes.

Thanks in advance.

Upvotes: 0

Views: 1106

Answers (1)

leomancini
leomancini

Reputation: 718

I was able to fix this by exporting video from Quicktime as "iPod touch & iPhone 3GS" instead of "iPad, iPhone 4 & Apple TV." Looks like the HTML5 video tag on iPhone's require a lower resolution to play.

Upvotes: 1

Related Questions