News for hackers. Stuff that matters.
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?
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>

Re:Open Source HTML5 Video Player with WebM/VP8 (from Zencod... by mikeryan on Wednesday June 02, 2010 @03:56PM (#1399158)
How, why? Why not just host the Javascript yourself to prevent XSS attacks.

I'm missing something here - why would this be less secure then any other JS lib?