zencoder/video-js — Issue #127: iPad - Video faded out, then in won't restart playing. 2 Diff errors
Author: tylercraft
Created: 2012-01-13 04:25:18+00:00
State: open

This is something I can repeat consistently on the iPad only (ie, it works fine on the Desktop)

I have a series of tabs with content below each. A video, embedded with videoJS is in one of them

1. Page Loads with Video Tab already open
2. Go to another tab (div with another div and video within fades out)
3. Go back to original tab, following js error is thrown in the iPad console:
Javascript: Log on Line 21
http://vjs.zencdn.net/c/video.js
INVALID_STATE_ERR: DOM Exception 11

Now, if I play the video, then I get a different error:

1. Page loads with video tab already open
2. Play Video
3. Go to another tab (div with another div and video fade out). On fade out pause() is called on the videojs object, which pauses the video
4. Go back to the original tab
5. video is black with the spinner in the middle. Play button doesn't do anything. However, if I hit fullscreen button I get the following error:
Javascript: Log on Line 21
http://vjs.zencdn.net/c/video.js
VideoJS: Video not ready.

Just to repeat, these are iPad only, and do not occur in Safari or Chrome