You tube sample

HI
i am havng a .flv file loaded into my site now i want to play that flv same as you tube does

if i embed that flv into swf then also its not working , what is the code to play flv directly into website

plz help