prototype dynamic HTML5 video controls


Still need to work on this a bit more when I have some time. Code is already set up to accept any sized video, but want to add in the ability to easily have multiple instances on the same page.

I also have it in mnd that the whole thing should be able to be controlled with the keyboard. Up and down for volume, left and right for video scrubbing. I left an opening in the current code to deal with this.

Added: Clicking on the video itself will pause/play, fullscreen function works and can be exited with click or "Esc" key. Got Firefox supported again, well at least 3.6.

Once I get those sorted out, onto a playlist!

Still not the best "looking" player, but this is how I learn, and I can work on that later.

← back to htmlstack.com source code →