Welcome Guest, Not a member yet? Register   Sign In
url
#1

[eluser]eabihaydar[/eluser]
Code:
<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/oNzwczwe8MA&hl=en&fs=1&"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
&lt;embed src="http://www.youtube.com/v/oNzwczwe8MA&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed>&lt;/object&gt;

If someone can help me in this, I want to have the url address from this html code

Many thanks
#2

[eluser]Dam1an[/eluser]
Code:
http://www.youtube.com/v/oNzwczwe8MA&hl=en&fs=1&
There you go Wink

Sorry, was that not what you meant? You where so vague it's hard to know what you want
#3

[eluser]eabihaydar[/eluser]
I need to extract the src part from this html code, Im building an application where the user can copy paste the html source code, so I have to take only the src part to embed his video on the website, dono if now im more clear anyway thanks
#4

[eluser]n0xie[/eluser]
You could use regular expressions or the DOM.
#5

[eluser]Thorpe Obazee[/eluser]
[quote author="Dam1an" date="1245696343"]
Code:
http://www.youtube.com/v/oNzwczwe8MA&hl=en&fs=1&
There you go Wink

Sorry, was that not what you meant? You where so vague it's hard to know what you want[/quote]

That made me laugh Big Grin




Theme © iAndrew 2016 - Forum software by © MyBB