How To Make Youtube Video Sharing?

Hi I am going to make a function to share video through You Tube Url among the functions you have implemented. Can you tell me how it was crumpled?
I am trying to make it based on web page

This already exists.

Do you mean compiled?