You could simply download the swf and play it inside the form. For that you can start here.
For the counter, do you just want to count how many times the button was pressed? That is trivial.
Do you want the actual count that Youtube.com displays? You may be able to sift through the source to get it, although I don't know if direct swf downloads count as plays for Youtube.