[wp-trac] [WordPress Trac] #22790: Duplicating Embed-Codes
WordPress Trac
noreply at wordpress.org
Thu Dec 6 13:17:17 UTC 2012
#22790: Duplicating Embed-Codes
-----------------------------+--------------------------
Reporter: Bichareh | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: | Severity: normal
Keywords: |
-----------------------------+--------------------------
Weird issue in WP 3.5 RC4...
If I paste any embed-code in html-mode, change into visual mode and back
to html, it duplicates the code.
e.g. this code...
Before (1301 character):
{{{
<object id="flashObj" width="630" height="534" classid="clsid:D27CDB6E-
AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0"><param
name="movie"
value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1"
/><param name="bgcolor" value="#FFFFFF" /><param name="flashVars"
value="videoId=1999115218001&playerID=18295496001&playerKey=AQ~~,AAAAABumiUQ~,d-Jwax1bUNkyqTy8Pr8lycLwfYHEbxsR&domain=embed&dynamicStreaming=true"
/><param name="base" value="http://admin.brightcove.com" /><param
name="seamlesstabbing" value="false" /><param name="allowFullScreen"
value="true" /><param name="swLiveConnect" value="true" /><param
name="allowScriptAccess" value="always" /><embed
src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1"
bgcolor="#FFFFFF"
flashVars="videoId=1999115218001&playerID=18295496001&playerKey=AQ~~,AAAAABumiUQ~,d-Jwax1bUNkyqTy8Pr8lycLwfYHEbxsR&domain=embed&dynamicStreaming=true"
base="http://admin.brightcove.com" name="flashObj" width="630"
height="534" seamlesstabbing="false" type="application/x-shockwave-flash"
allowFullScreen="true" swLiveConnect="true" allowScriptAccess="always"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"/></object>
}}}
After (2153 character):
{{{
<object width="630" height="534" classid="clsid:D27CDB6E-AE6D-11cf-
96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0"><param
name="movie"
value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1"
/><param name="bgcolor" value="#FFFFFF" /><param name="flashVars"
value="videoId=1999115218001&playerID=18295496001&playerKey=AQ~~,AAAAABumiUQ~,d-Jwax1bUNkyqTy8Pr8lycLwfYHEbxsR&domain=embed&dynamicStreaming=true"
/><param name="base" value="http://admin.brightcove.com" /><param
name="seamlesstabbing" value="false" /><param name="allowFullScreen"
value="true" /><param name="swLiveConnect" value="true" /><param
name="allowScriptAccess" value="always" /></object><object width="630"
height="534" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
bgcolor="#FFFFFF"><param name="src"
value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1"
/><param name="flashvars"
value="videoId=1999115218001&playerID=18295496001&playerKey=AQ~~,AAAAABumiUQ~,d-Jwax1bUNkyqTy8Pr8lycLwfYHEbxsR&domain=embed&dynamicStreaming=true"
/><param name="base" value="http://admin.brightcove.com" /><param
name="seamlesstabbing" value="false" /><param name="allowfullscreen"
value="true" /><param name="swliveconnect" value="true" /><param
name="allowscriptaccess" value="always" /><param name="pluginspage"
value="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
/><embed width="630" height="534" type="application/x-shockwave-flash"
src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1"
flashvars="videoId=1999115218001&playerID=18295496001&playerKey=AQ~~,AAAAABumiUQ~,d-Jwax1bUNkyqTy8Pr8lycLwfYHEbxsR&domain=embed&dynamicStreaming=true"
base="http://admin.brightcove.com" seamlesstabbing="false"
allowfullscreen="true" swliveconnect="true" allowscriptaccess="always"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
bgcolor="#FFFFFF" /></object>
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22790>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list