New hulu styled open source video player.

Just created this open source video player styled like hulu.  It’s adapted and rewritten code from: http://chrisbrimelow.com/blog/?p=15 .  Some of the changes I made were pretty basic including separating the ui from some of the nitty gritty stuff that drives the video.  There’s also file streaming capabilities built into the player.

To take advantage of streaming video, I’m running nginx with flv-streaming-module compiled into my install.  Seems to work pretty well and handles tons of connections simultaneously.

Source code on github for this video project is located here: http://github.com/elguapo1611/opthumb-videoplayer/tree/master

Hey Jonathan.

I have been goofing around with Chris’ HULU player for about 8 hors straight, and I just can’t figure something out. I thought I would contact you, since I am about to pull all of my hair out.

All I need it to do is loop back to the beginning after the video is complete. I am at a stand-still!

Can you PLEASE help me out? I know how annoying it can be for people to ask for help, but I would really apprciate it.

I suppose I am on the wrong path, but this isn’t working:


import flash.events.Event;

video_mc.attachNetStream.addEventListener(Event.COMPLETE, onVideoDone);

function onVideoDone(evt:Event):void {
bigPlay_mc.gotoAndStop("play");
}

So can you help a brother out? Much thanks,

jim

Hey,
I stumbled across this player and was shocked. I too use nginx on several servers. Kick ars app for sure.

I was wondering what you were using for a embed code or swfobject setup.
I’ve been trying to get it running with mp4′s + nginx mp4 streaming. Thus far I can hit play it starts playing but 0 picture. Got sound though. Tried 5 or 6 different mp4′s some encoded via ffmpeg+qt-faststart some via local program.

Anyway drop me a email if this project is still up and running. I’m building something that could use this player ;)

I actually stopped development on this player in favor of flowerplayer: http://flowplayer.org/ . Flowerplayer supports skinning and has a pretty well documented api for JS integration, and I’m pretty sure that there’s a Hulu skin out there. Anywho…. about the flash embed issue, I think it might have to do with the encoding process. I had to include different codecs when I built and compiled FFMpeg. To test this theory, encode one of your videos right in the flash IDE (Import video). It’ll spit out an FLV that will definitely work, thus eliminating swfobject as the problem source. Generally when I have issues with swfobject, the flash player doesn’t initialize at all which is why I suspect the audio encoding. For automated solutions, FFMpeg is extremely fragile with regards to FLV encoding (although I hear google just bought ON2 which means this might improve). Anywho…. let me know if it works. Cheers

Leave a Comment

You must be logged in to post a comment.