Re:Why the HTML5 ‘Video’ Element Is Effectively Unusable
by bphogan on Monday December 21, 2009 @04:28PM
(#1008637)
But see that's kinda stinky cos it's not semantic. You're not embedding the video element in the document so it can describe the content. It would be really cool if the js somehow could remove the video element or something and add it back in... but I dunno how possible that is.
[ Parent
| on HN ]
Re:Why the HTML5 ‘Video’ Element Is Effectively Unusable
by jiaaro on Monday December 21, 2009 @04:46PM
(#1008664)
Here's an idea:
Why not just add an onclick that puts in the `<source>` tags?
that way you still have a `<video>` tag but it has nothing to preload until you click it
note: I havn't tested this approach
Edit: Ok so I tried that in firefox and it doesn't work. But What if you make a video with 1 frame and a resolution of 1x1 and make that the source. Then you can replace that with onclick? (this one is more work than I'm willing to do out of curiosity, maybe someone else will try it?)
Re:Why the HTML5 ‘Video’ Element Is Effectively Unusable
by dasil003 on Monday December 21, 2009 @06:23PM
(#1008871)
The semantic part isn't even what really bothers me. I'm more concerned about requiring javascript for something that shouldn't need it.