I'm currently in the developing process of my new site, Vidmarkr, which automatically bookmarks videos when you input the URL.
The trouble I'm having is getting the video's HTML to be filtered out of the page, ready to go onto mine.
For example, in the page
http://www.youtube.com/watch?v=qeye8wnBJoU, I want to extract the code:
PHP Code:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/qeye8wnBJoU&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/qeye8wnBJoU&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
Any ideas?
Thanks,
B.