JW player embedded update
Originally for a company reel presentation. I’ve made a local version sample portfolio SWF.
Select any from the side menu to play. Notice I tweaked the original JW fullscreen function so it expands from the embedded SWF onto the parent SWF. Fullscreen pretty much acts like youtube.
It’s not my real reel (you won’t find it…yet), just a random sample.
And the updated tutorial’s here:JW player embedded tutorial
Perl & SQL
Learning Perl with MySQL…
Some steps seems a bit long winded compared to PHP, but perhaps it’ll make sense eventually.
Animation Showcase & Finalizing…
We had our Tisch animation showcase 5/7. I’m quite impressed especially of the longer works. Andrew & Harry’s film worked out well–that painting and shading is awesome. Several friends back in intermediate animation finally ‘disclosed’ their films, and wow, gota see again Bethany’s vaccum dog PK and Connie’s flower seduction.
I really wanted to see SVA’s and other’s animation…happens to be during my finals and graduation (i did see Metrocaf at SVA) maybe next time.
So parts of my showcase is online, plus extras: Experimental animation. It’s mostly exploration into various animated media and computation from prof Rob Fergus’ expertise in image processing. I might explain some coding/procedure behind some works if it can make any sense to people. But the weird visuals come from permutations of {matlab, maya, flash, pencil, me}.
Media Players in Firefox 3, finally!!
It’s amazing things change since the days of FF2 only a few months back. Previously I tried online methods of making quicktime, wmp player plugins work in FF2, but all the hacks and ini changes failed. The only ‘media’ playable was Flash. So IE was my official media/radio browser. Mind you my FF is portable (not installed), and I didn’t use the real QT. VLC plugin wouldn’t run either, and the best FF playback was to sift for links on a page, and open it with an assigned external player.
Now after some revisions to FF3, I decided not to waste time fixing media issues, but needed to update all my codecs for video work. So I installed the latest K-Lite codec pack, QT alternative, Real alternative. Then I noticed an odd side effect: for the first time, I saw wmp and QT all playing in FF3, with radio stations retrieving license and playing smoothly!
QT alternative still has the invisible playback controls, but the settings button and volume ctrl work this time if you know where to click. Otherwise, Wow it’s perfect!
PHP & MySQL basics
Implemented a register/login system from editing some template code. The SQL’s fairly simple, and more involved are the PHP files. I’m learning the PHP parts, and customizing it. It’s quite useless for a site like mine, but it’s just for experimental fun!
My current class is starting with Perl + MySQL, but seems like the easiest route is PHP. Perl’s worth learning though, like a more powerful, OOP optimized version of bash/ksh.
Anim: Bunnies with Flash
Learning AS3 and how designing (mostly) perpetual animations from code:
Bunnies
It’s a bit psychedelic. I’m thinking of adding interactivity of some sorts, or making it more ‘practical’. Because now it’s mostly experimentation.
Eatery: Han Bat
Han Bat, 53 West 35th Street, New York, NY 10001 (btw 5th & 6th)
24hrs restaurant in K-Town
Caution: plates bigger than photo!
The sizes are quite generous compared to others for the same standard numbers across Korean Town.
11 giant fried rice with 5 meat/veggie choices: I chose shrimp+kimchi fried rice: so much jumbo shrimp (but qu-qu hardness suggests cheaper-grade shrimp, compare to real spongy texture at real seafood exclusives). Soft kimchi compared to the cold crispy kimchi in the side. For the wallet it’s the most shrimp you can find. The flavoring is fairly good, and will depend on how you mix the five elements. You can get it vegan too.
Bibimbap: my friend ordered beef Bibimbap, standard sized and number. But the egg and beef looked nice.
Korean pancake, soups, (possible) free ox bone soup: Big? Will try next time!
free sides: 6 dishes, but unlike other K-eats, they didn’t refill. But it’s ok since the portions are over the top.
As usual we get a bottle of sweet hot sauce.
dbWeb – Database design homework…
Churning out homework slowly…
Here’s the link to my database class:
http://gophercg.com/web/web.html#dbWeb-Database_Design
Or go here:
http://gophercg.x10hosting.com/web/web.html#dbWeb-Database_Design
I don’t know why we’re learning form creation in Access, since these forms can only be used on user platforms with Access installed. The form editors are quite comprehensive, but it needs to convert to web forms or standalones to be useful.
Tutorial: JW Player Embedded
See original tutorial HERE.
JW Player Embedded
Question: How to embed JW Player in any Flash file?
Here’s all the necessary resources and more:
Basic embed Flash in html: http://www.longtailvideo.com/support/tutorials/Embedding-Flash
Embed JW Player in Flex: http://developer.longtailvideo.com/trac/wiki/FlexEmbedding
JW Player API: http://developer.longtailvideo.com/trac/wiki/FlashAPI
JW Player flashvars: http://developer.longtailvideo.com/trac/wiki/FlashVars
load external SWF in Flash stage: link
LONG forum posts: http://www.longtailvideo.com/support/forum/Setup-Problems/11830/Embeding-JW-player-4-0-in-a-flash-website-AS3-
more… http://www.longtailvideo.com/jw/?search=embed+flash
Thanks to some members in the longtail forum, I frankensteined a working presentation without being very familiar with AS3. See example here:
sample portfolio
JW specific imports, or you can import all JW stuff:
import com.jeroenwijering.events.*;
import com.jeroenwijering.player.*;
import com.jeroenwijering.plugins.*;
import com.jeroenwijering.utils.Configger;
Optional, store a URL string of the player with parameters, like size, autoplay etc.
To keep things simple, put all files (yes html, player files, host SWF, all videos) in the same directory. My version did organize elements into a nice folder hierarchy. Though since referencing parent folders (eg ../parent) doesn’t work perhaps due security or silly syntax, my videos folder is in the player folder. I dislike this hierarchy in terms of strict relations, but at least folders separate element types cleanly.
Link in the SWF JW player by the procedure in the above Adobe page, using a Loader object. Take care relative directories in the URL is relative to the html page caller, not the host SWF caller.
Note relationship: html page -> your custom SWF -> embedded (loaded) JW Player SWF
Then some good event handlers as the bulk of you customization:
function loaderHandler(e:Event) //SWF player loaded
function playerReady(e:Event=null) //initialized. Now use the API to send/receive
function resizePlayer(), buttons etc //the interactive UI bulk
Then much of the UI connections just take time. You can see I retained the standard JW skin. You can replace it, use all your own controls etc. All the controls still work, except fullscreen, which I need to somehow intercept and relay to a correct parent "window".
WordPress on WordPress
There quite some differences between the WordPress hosted version and blog installed on a private host.
I’m working on an installed WordPress, with lots more flexibility. But uploading has permission problems.
Now I can use the WordPress upload interface, and FTP uploaded files can only be linked by absolute URLs so it’s very cumbersome. I need to upload via FTP, but use short relative links to refer on posts/pages. That would be easier to organize and for future site migration.
Not the shortest, but I got a relative link to work. So allows at least migrating domain name, thanks to a Permalink plugin to change the link addresses.
Also, the wordpress.com version is especially slow (installed is no better, probably the similar WP interface always had speed issues). Maybe using a desktop blogger would help. If they made it all Ajax like Yahoo/Google, then it would be much faster
EDIT: got mass uploading to streamline. After trying several plugins, I decided to forget the WP upload UI entirely. Some plugins did nicely in attempting to organize uploads/folders, but they’re dragged down by some WP UI simplicity/slowness. So in a recent gig where I was asked to place many files in organized folders/categories, I FTPed directly, and used relative links in the WP page posts. This allows a bit more flexibility in future migration. And the folder plugins would place files in the same compatible locations as the manual FTPs. Only difference is the former has a WP database record (which is not useful yet). All the file links work on the pages/posts, so WP installed does have more flexibility it seems.
Also for the default Flash uploader, Firefox is nonfunctional, while Explorer uploads quickly. I find that weird because Flash is the same plugin from Adobe…hmm….



