R
Rauan Maemirov
Hi, all. I'm trying to replace <object ...><embed... /></object> with
<img> tag and vice-verse. It's like implementation of media plugin of
Tiny MCE editor. I tried to watch their code, but it's too complicated
and has a lot of unnecessary code. And the main reason is i'm weak in
javascript rewriting.
I need just simple rewrite for e.g. this
<object width="425" height="355"><param name="movie" value="URL"></
param><param name="wmode" value="transparent"></param><embed src="URL"
type="application/x-shockwave-flash" wmode="transparent" width="425"
height="355"></embed></object>
<img width="425" height="355" title="src:'URL'">.
param tags can be omitted.
Could anybody help me? Thanks in advance.
<img> tag and vice-verse. It's like implementation of media plugin of
Tiny MCE editor. I tried to watch their code, but it's too complicated
and has a lot of unnecessary code. And the main reason is i'm weak in
javascript rewriting.
I need just simple rewrite for e.g. this
<object width="425" height="355"><param name="movie" value="URL"></
param><param name="wmode" value="transparent"></param><embed src="URL"
type="application/x-shockwave-flash" wmode="transparent" width="425"
height="355"></embed></object>
<img width="425" height="355" title="src:'URL'">.
param tags can be omitted.
Could anybody help me? Thanks in advance.