Hi, i want to add a section to my site so that my members can add a youtube video to their profile page.
I have added a section called My Video to the My Account section of my site.
I now want users to be able to enter a youtube link so that i can then display it on their profile page BUT i am not sure what link / url i should be asking the members to upload.
For example, there are 3 different links / options:
1 - the youtube url for this video is http://www.youtube.com/watch?v=f_JRZI9o49w
2 - the share url is http://youtu.be/f_JRZI9o49w
3 - the embed code is <iframe width=“853” height=“480” src=“http://www.youtube.com/embed/f_JRZI9o49w” frameborder=“0” allowfullscreen></iframe>
Q1 - what should i ask my members to upload
Q2 - what code should i build into my script so that when i call the member’s $youtube_video it will play the video back in my script
Thanks in advance for any help that you can give…