We managed to get around this in the JW Player for HTML5 The easiest way is as follows.
We managed to get around this in the JW Player for HTML5. The easiest way is as follows: If the src property is set, unset it and store the location. Add a click handler to the tag.
When it's clicked, re-set the src property. This will work fine, but it still means that you'll have issues on replay, as the poster image that re-appears won't be the same as the original, unless you do some more JS magic. Also worth noting that you can't place anything on top of the tag in mobile Safari.
The way to get around this: Set the CSS display:none Add another in the same location, with the same dimensions as the element, with a CSS background image that's the same as the poser image. Add a click handler to the new . When the new is clicked, hide the new and show the video tag.
When the video has completed playback, hide the and show the new . Hopefully that helps! Best, Zach Developer, LongTail Video.
Good tip -- I'll try this out. Thanks Zach. – ekallevig Jun 18 '10 at 22:52 I ended up using your trick to only load the 'src' attribute once the play button is clicked and it works quite nicely.
Thanks! – ekallevig Jul 12 '10 at 14:06.
This is the way in which webkit browsers have decided to implement the spec (as cited above). I agree with you that it is not very intuitive and would myself also prefer to keep the poster image up until the user hits the play button. I suggest you submit a bug report (or feature request) to webkit for it https://bugs.webkit.Org/ .
OK thanks Silvia! – ekallevig Jun 18 '10 at 18:12.
Only option is to make sure first frame of your video is same as poster or not to use it at all. "When a video element is paused and the current playback position is the first frame of video, the element represents either the frame of video corresponding to the current playback position or the poster frame, at the discretion of the user agent. " -- w3.org/TR/html5/video.html#attr-video-po....
Bummer... thanks for the info Andrew! – ekallevig Jun 18 '10 at 18:15.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.