Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Popcorn.js: The HTML5 Video Framework (popcornjs.org)
111 points by creativityhurts on March 25, 2011 | hide | past | favorite | 33 comments


Anyone who's interested in popcorn might want to give my little tech demo a spin. Works with YouTube right now, but enables syncing of website slides to a YouTube video.

For now, this is just a tech demo (creation isn't done yet) but would love any feedback you've got about the frontend, or if you see any use, etc. Going to launch it in a few weeks, which is when I'll really start looking for feedback on both the creation and consumption side. (post to HN, etc)

http://www.vidpresso.tv/presentations/view/5

[Watch more than 10 seconds, or click around on the timecodes in the rundown to get an idea of what I've built.]


If you sync it with PowerPoint slides then you might have something. Could be a sales video with a slide deck moving along while the dude talks. Might be cool. A few companies do something similar but not quite that.


Yeah, the plan is to do SlideShare and PDF viewers (scribd, crocodoc) soon enough, before launch.


crazy. i did something similar with a shopping cart type thing with youtube vids. http://haul.twitik.com/. Youtube's player API totally rules, right?


I'm really excited for the coming collision of motion graphics, video, and web.

Things like Popcorn.js, CSS3, OpenGL, and AJAX are going to bring dynamic, user-controlled motion graphics into the browser without actionscript. Huzzah!



This is great. Does anyone know if it's possible to record video using HTML5? I'm looking for a drop in component that will let a person easily record a video from their webcam and am trying to avoid flash.


We had to look into this: the only way to do it in a cross-browser/OS way is to use Flash. Fortunately, it's fairly simple to write a bare-bones Flash app that just creates JS hooks for all webcam functions (though the permission dialog and any video preview still needs to be in the Flash window).


Awesome, I'll have to look into that, are you grabbing video or just images?


We stream video: you can use a Flash media server (costs a lot of money), Wowza media server (costs less money), or red5 (open source) to stream. For images you can actually extract a bitmap from a frame of the video, which I imagine you can pass to JS and reassemble in canvas.


Is there any good documentation for setting up red5? My first attempt was a nightmare.


We just used Wowza, since they had an EC2 instance you could just boot up at a higher cost than a regular EC2 instance. The documentation is ok, not amazing, but getting it running is pretty trivial thanks to their examples.


You can use a developer's version of Wowza (the big limit is iPhone streaming is crippled).

A single license is like $1000, but you can instead pay by month ($60, IIRC).

Wowza also has a deal with Amazon, so you can run Wowza on EC2 and only pay by the hour (Wowza licensing included).


Have you been able to use Wowza with HTML5 using a livestream, not VOD?


Does not exist yet. There's no final spec for this, and Opera just started experimenting with it. http://my.opera.com/core/blog/2011/03/23/webcam-orientation-...


Looks neat! Gonna check it out this weekend.

Plug: I have a similar project for interactive video with HTML5 I just put online the other day:

http://www.cacophonyjs.com/


Reminds me of that crazy Arcade Fire video.

http://www.thewildernessdowntown.com/


Definitely inspired by it :)

I'm working with a friend to make an interactive music video with it, story-based with some mouse-reacting visual elements and some minor social interaction too.


I remember talking about this at Mozilla Drumbeat NYC last year. It's a very cool project, indeed.


This is fabulous. I might even say that this medium is going to inspire new genres of digital art.

Bravo.


I don't know about inspiring new genres, unless the end user-experience of this is something that could never be created in Flash (a streaming VOD that triggers javascript at specific video frames/times to update portions of the DOM).

I would like to see this used in an interactive, bi-directional manner. That would be some interesting stuff.


This seems much inferior to http://mediaelementjs.com


At all no - mediaelementjs offers excellent skinning, but it's the events and triggers that make popcornjs far more powerful. This: http://www.rebelliouspixels.com/semanticremix/ was posted on HN not that long ago and is an excellent example of the power of popcornjs.


This is the xml file used for that Donald Duck mashup. Reading through the timeline tag really made more sense to me than the actual demo (in terms of explanation).

http://www.rebelliouspixels.com/semanticremix/data.xml


They can be friends and work together, bro!


Does anyone know what the song/melody playing in the background of the video is from?



Thanks, and it's very apropos they would choose that song. The melody has been stuck in my head for years, probably from some old school 8-bit video game, so it's great to match the song with the melody.


Wow, thanks for using the 'Aristo' jQuery UI theme for the Butter creation tool :)


Thanks for making the Aristo theme for jQuery UI (and you're welcome) :)


that's funny. i was just using that and thinking how good the dialog windows looked :D


That's wonderful! The syntax is beautifully simple too.


:D Glad you like it!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: