View Single Post
11-28-2009, 10:16 PM
#1
santa is offline santa
santa's Avatar
Status: Member
Join date: Mar 2009
Location: Location: location.
Expertise: Design, HTML
Software: Espresso, Photoshop, Mail.app
 
Posts: 398
iTrader: 7 / 100%
 

santa is on a distinguished road

Send a message via ICQ to santa Send a message via AIM to santa Send a message via MSN to santa Send a message via Yahoo to santa Send a message via Skype™ to santa

  Old  Filtering video code using PHP/JS/HTML

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.

Reply With Quote