Once we added playlist support, we decided that the easiest way to
handle all of this was to blow away the <video> tag and just reinsert
it for each playlist item. I'm not sure which is better in terms of
memory / computational performance, but it keeps it clean.
The one caveat: the iPad is not a happy camper about putting visual
elements on top of the <video> tag unless the tag is in the DOM before
document.ready is fired. I've never gotten it to work personally
(regardless of whether or not the <video> tag was cooked into the
page), but Michael Dale (of Kaltura / mwEmbed fame) showed me a demo
where this was working.
Have any of y'all gotten a display element on top of a <video> tag on
the iPad during playback?
Best,
Zach
--
Zachary Ozer
Developer, LongTail Video
w: longtailvideo.com • e: za...@longtailvideo.com • p: 212.244.0140 •
f: 212.656.1335
JW Player | Bits on the Run | AdSolution
We used to do this approach before we started working with some ad managers. When they go to play an ad, they overload the video element you were expecting to play. It's not the most graceful thing out there. Thankfully, they are willing to work through problems like these since it's a young space.
Kelly
Doesn't this dump the video buffer? Have publishers complained?
We suggested to an advertiser recently that they should:
* Create a new <video> tag for the ad
* Hide the existing player <video> tag
* Position the ad <video> tag in the same location as the player's <video> tag
* On completion of the ad, delete the ad <video> tag and unhide the
player's <video> tag
Admittedly it's a bit complex, but it keeps things nicely separated.
Ad managers will implement a similar system to how things are done now in Flash: you load an opaque component that generates the video tags or HTML for an overlay and handles the behavior. When it's done doing it's thing, it will executes your callback. We're working with FreeWheel to get their JS ad manager up to the same level as their Flash ad manager.
Kelly
w: longtailvideo.com • e: za...@longtailvideo.com • p: 212.244.0140 •
f: 212.656.1335
JW Player | Bits on the Run | AdSolution