Hello i am trying to develop a video gallery
However the problem is that i should limit their dimensions.
So if the site owner wants to add a video he should paste the embed code..
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/R6uJGqS-KQY?fs=1&hl=el_GR"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/R6uJGqS-KQY?fs=1&hl=el_GR" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>
I decided to go with embed because there are many video providers out there....
So which is the best method to resize it before storing it to the database?
IS there a css only solution?
Also i noticed that video.google uses only and inline css for width height! That would overide any css setting...
So regexp is the only solution ?