views:

28

answers:

0

I'm building an iPad app that loads information dynamically via XML, some of which is displayed in video tags.

The tags themselves work properly and the video can load and play, but for some reason, the iPad doesn't want to render the poster attributes for the videos.

However, once I play any of the videos, all of a sudden all of the posters will show up anytime a video element is displayed.

Anyone else had problems getting video elements to display posters on page load?

Here's how I'm embedding the video:

<video id="videoPlayer" src=" + videoURL + " poster=" + posterURL + " controls="controls" width="480" height="360">&nbsp;</video>