Hello support forum,
I want my users to be able to input a URL to a YouTube video, then get only the ID, so that I can embed it how I want into a post (autoplay, size, HD).
For example user enters:
http://www.youtube.com/watch?v=ALEUp3kXvvk
Then I want to take that and only use the ID of the video which is ALEUp3kXvvk and insert it into my custom embed:
<iframe src="http://www.youtube.com/embed/ALEUp3kXvvk?rel=0&autoplay=1&showinfo=0&controls=0&HD=1&modestbranding=1" frameborder="0" width="560" height="315"></iframe>
Any help or direction would be much appreciated.
Thanks!