Re:Open Source HTML5 Video Player with WebM/VP8 (from Zencod...
by rivo on Wednesday June 02, 2010 @03:01PM
(#1398982)
It seems that HTML5 will force people to allow embedding Javascript. How will we be able to avoid cross-site scripting attacks this way?
[ Parent
| on HN ]
Re:Open Source HTML5 Video Player with WebM/VP8 (from Zencod...
by adamdecaf on Wednesday June 02, 2010 @03:07PM
(#1399011)
I didn't have to enable javascript to play the video (chromium), all you have to do is create the video element and load the source. Then all extra commands can be loaded with javascript.
<video controls> <source src="video.ogg" /> </video>
<script> function load_video_extras() { ... } </script>