Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I think you should be able to get pretty far with HTML5 <video> tag. You can also sprinkle something like playerjs or videojs to make it nicer.


sort by: page size:

Well, it could be done with HTML5 and the video tag.

This uses video.js which wraps <video> and adds a lot more goodies.

HTML 5 video?

I've never used the video tag. I'm sure there is more involved than adding <video></video> tags to my page. I'll probably have to do some research to get it working the way I want. "How do I make the play and pause button the way my visual guy designed them" would the first question that would come to mind. I guess the same goes for a Flash based solution.

With a client side library (gifjs). I might switch to video for a better quality though.

HTML5 <video> tag works just fine if you want to put a video up somewhere.

I guess you could always whip up an html5 page to play local videos

I'll transcode the vid and set up videojs properly, if it'll help

Interesting, it's using canvas to play the video. Wonder if there is player API for JavaScript.

it would be great if an html5/JS interface existed for MP4 videos. I think it's possible

While I do agree that a [video] tag would've been nice, I'll also recommend you get FlashBlock for whatever browser you're using.

(Sorry for blatant OT)


The Web is moving to include video. Just look at the <video> tag in HTML5.

If you want to go that way, prefer html5 videos, they are a lot more compact and have options to pause and navigate.

It's a great method for start using HTML5 <video>, cross platform - http://videojs.com/

When using the <video> element, you can do exactly that. So we'd probably be in good shape. :)

(At least in Firefox, Chrome, and Safari. Try it out: http://www.w3.org/2010/05/video/mediaevents.html)


Quite the opposite. The video -- because it's huge compared to JS, CSS, etc. -- /does/ make sense to host on YouTube. The /player/ does not belong embedded in the page though. Take a screenshot, host that on your own crummy web server, and link to YouTube, ideally with a notice to the effect of "Clicking this link will share your information with YouTube..."

I'm working on an HTML5 video player. The special features that will differentiate it from others are a sharing widget in the video and a gallery that show up when the video ends pushing the user to watch more videos.

Any other ideas?


mediaelement: (http://mediaelementjs.com/) works well for audio - haven't tried it with video but i'm sure it's good.

I'm one of the developers on the video player used on that page. Great work guys!

Edit: I should add in, the player is primarily Javascript with a small rendering engine for Flash fallback. Even in the Flash case, everything is controlled via JS through a flash bridge. We prioritize HTML5 video when possible across browsers and devices.

next

Legal | privacy