May sound like a total noob question but i'm looking for a javascript (and or jquery) function to replace an element in this code :
<embed id="ply" width="800" height="400"
flashvars="file=http://example.com/play/"
allowscriptaccess="always"
allowfullscreen="true"
quality="high" bgcolor="#00000"
name="ply" style=""
src="/video-player.swf"
type="application/x-shockwave-flash"/>
I want to be able to replace the :
flashvars="file=http://example.com/play/"
and append some text (for video seeking) :
flashvars="file=http://example.com/play/234983"
Must be really easy to do, but i'd appreciate help for some more experienced user.