Actionscript 2, Actionscript 2.0, Flash, Flash _, PHP _, Web developer

FLV video playback with duration time and first frame as thumbnail

Here is new Tutorial which makes me very happy…

In last edit of this message I made a mistake
Flash can see duration of FLV file, using Stream.onMetaData
but also you can use PHP script to determing duration of FLV file

Example is just coding one, doing some buttons, style and rest I leave it to youi

also, if you do some serious application you should consider dynamic buffering technology, where buffer length and time is set dynamicly while movie is playing visitor recieve best results
so here it is

EXAMPLE with PHP
ZIP with PHP

EXAMPLE with MetaData (doing same thing)
ZIP with MetaData
just in same folder you unpack put FLV file named video.flv or use mine from this address

Happy New Year !!! Wish you all the best …

EDIT: Links are updated! Sorry for waiting…

Standard
PHP, PHP _, Web developer

Simple Paging in PHP

My first tutorial for PHP is simple page breaking of data. Basiclly I’ve set up a file which contains information about images in text file.

Data file looks like:
imagelocation1, imagedescription1
imagelocation1, imagedescription2

or

img1.jpg, Picture from sea
img2.jpg, Picture from cafe

and so on… PHP page loads data and show only info for 10 picture for the page that is choosen from GET variable in URL.
It’s just basic stuff and you can improve it to suite your needs, this is simple example so we don’t get too far from point and so you can learn other stuff while exploring this example.

Example page
ZIP file with data

EDIT: Links are updated! Sorry for keep you waiting…

Standard