Ok, basically, i’m creating a CMS for a client.
At the moment they’re uploading the video through dailymotion, and grabbing the embed code.
They enter the embed code into a field in the CMS, and i want my cms to be able to delete everything after a certain tag.
Here is the code that dailymotion give you:
<div><[B]object width=”425″ height=”335″><param name=”movie” value=”
but all i want to be entered is:
<object width=”425″ height=”335″><param name=”movie” value=”
I’m wondering if this is at all possible. So that once it see’s the closing <object> tag, it will cut off everything after it.
Any assistance would be much much appreciated.
Many thanks,
Rapidz.