Opened 17 years ago
Closed 17 years ago
#5241 closed defect (bug) (worksforme)
Embedding Stage6 Video Inserts <br> tag and breaks all themes.
Reported by: | Manthem86 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.3 |
Component: | Administration | Keywords: | stage6, divx, embed |
Focuses: | Cc: |
Description
Embedding of DiVX Stage6 videos at http://stage6.divx.com/videos/ using the DiVX web embed tool at http://labs.divx.com/WebPlayerCodeGenerator inserts a <br> tag which causes the theme to break. I've tested this on multiple themes and they all had the same result.
Below is what the code should look like, followed by the outputted code from WP.
Desired Code: <object codebase="http://" height="576" width="720" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"><param name="autoplay" value="false"> Actual Code: <object codebase="http://" height="544" width="960" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"><BR/><param name="autoplay" value="false">
Change History (1)
Note: See
TracTickets for help on using
tickets.
This code works fine for me:
It ends up as this:
Remove all line breaks from your code, i.e. don't have this:
because that would add in
<br />
as intended (you have a line break there, so you must "want" a<br />
.Also make sure to not use the RTE editor (i.e. paste into the "Code" tab or disable it altogether).