A designer friend of mine wanted a custom flash player built for the videos he has on his website. I used Degrafa to create the curved background and layered progress bar.
One thing I ran into that I didn’t see mentioned anywhere is that Degrafa expects SVG data to start with M and end with z. Some of my data- exported straight out of Adobe Illustrator no less- didn’t have this and simply wasn’t showing up.
My error-checking is definitely lackluster. There are countless files referenced in the lifetime of the player (main video, xml playlist, other videos, preview pictures, thumbnails, ads, etc. I’ve done minor checking to prevent explosions, but there are definitely times where you’ll see a broken image symbol if you linked to an invalid or inaccessible image.
<degrafa:Path id="playPath" data="M0,0 0,14 12.5,7z" fill="{greyFill}">
I hate VideoDisplay’s buffering- it offers little customization. On my internet connection the player works fine, but for some people with slower connections, it will play, buffer, play, buffer, etc. I tried a number of the different schemes (analyze size, download speed, etc.) to figure out when you can safely start playing the video so that you can play it straight through…none of them worked well on eratic network connections. I also hate how when a video is buffering, the VideoDisplay locks itself down, ignoring pause and play commands.
View Source etc. will come eventually…
*This post is a placeholder…I don’t intend for anyone to actually see it other than myself at the moment.
A designer friend of mine wanted a custom flash player built for the videos he has on his website. Given the complexity of his design, I opted for creating the UI nearly entirely in Degrafa rather than trying to skin standard components.
April 17th, 2008 at 7:52 pm
Nice work… so, will you be sharing CrapPlayer.mxml ?
April 18th, 2008 at 1:06 pm
Yeah, I definitely want to give it back to the community. The only reason I haven’t yet is my designer friend put a lot of work into it for his site, and it would be a shame to see it to start popping up exactly the same elsewhere. We’re rolling another one out with different styles soon.
June 3rd, 2008 at 8:51 pm
Your designer friend sounds like a jackass
June 3rd, 2008 at 9:21 pm
@elroy
Nah, though he is mildly retarded. His site blows too http://www.elroyonline.com