MySpace changes the HTML when pasting the video code into my profile. Does anyone know how to correct this? Thank you
Printable View
MySpace changes the HTML when pasting the video code into my profile. Does anyone know how to correct this? Thank you
Thank you. I tried a search but without success. Thanks :DQuote:
Originally Posted by ramesh
This will work on myspace.
Find this code templates/view_video.tpl
New Code
Old CodeCode:<textarea name="video_play" cols="45" rows="5" readonly="readOnly" onClick="javascript:document.linkForm.video_play.focus();document.linkForm.video_play.select();"><object width="425" height="350" type="application/x-shockwave-flash" data="{$baseurl}/player/player.swf"><param name="movie" value="{$baseurl}/player/player.swf" /><param name="flashvars" value="&file={$file}&image={$baseurl}/thumb/{$video_info.VID}.jpg&width=425&height=350&location={$baseurl}/player/player.swf&logo={$baseurl}/templates/images/watermark.gif&link={$baseurl}&linktarget=_blank"/></object>
</textarea>
[/quote]Code:<INPUT NAME="video_play" value='<object width="425" height="350" type="application/x-shockwave-flash" data="{$baseurl}/player/player.swf"><param name="movie" value="{$baseurl}/player/player.swf" /><param name="flashvars" value="&file={$baseurl}/flvideo/{$vinfo[0].flvdoname}&height=350&image={$baseurl}/thumb/{$vinfo[0].VID}.jpg&width=425&location={$baseurl}/player/player.swf&logo={$baseurl}/templates/images/watermark.gif&link={$baseurl}&linktarget=_blank"/></object>' size="51" onclick=javascript:document.linkForm.video_play.focus();document.linkForm.video_play.select(); readOnly>
Also check out http://www.jeroenwijering.com/?item=Supported_Flashvars for more info about flashvars