Hi, i want to add a function to my site whereby members can display YouTube videos. I have added the field "youtube" to my members table in my database and i have also added a text box under the "My Account" section which allows users to enter the url of the video they want to associate with their profile. On YouTube, they give you an option to copy the url or to copy the embed code. url - http://www.youtube.com/watch?v=L3pj6vkcn-E embed -<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/L3pj6vkcn-E"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/L3pj6vkcn-E" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object> My question is how can i get the video to display on each users profile page. I have the data from the "youtube" field outputting onto their profile page BUT how do i display it I know i could get the user to just copy the L3pj6vkcn-E into their youtube textbox and upload that and the use the following format <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/<?php echo $youtube;?>"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/<?php echo $youtube;?>" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object> BUT IT IS NOT VERY USER FRIENDLY IF THE USER HAS TO COPY A CERTAIN PART OF THE URL. Is there a way that they can copy the whole url into the youtube textbox and then the site will just use the end tag for the video OR is their another way to do what i am trying to do, thanks