Ticket #1153 (closed defect: duplicate)
Bug with YouTube code
Reported by: | ben_griffith | Owned by: | xave |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | module:core | Version: | 2.2 |
Severity: | normal | Keywords: | code, youtube |
Cc: |
Description
Steps to reproduce it:
- Open a new entry in DC using XHTML
- Copy an embedded code from YouTube?
Sample code:
<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/4ODuL9iWWl4?fs=1&hl=en_GB"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/4ODuL9iWWl4?fs=1&hl=en_GB" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>
Either:
- you enter the code directly in "source"
Result: parts of code will be deleted and no video is shown
DC cuts the code to:
<object height="385" width="640"><param name="movie" value="http://www.youtube.com/v/4ODuL9iWWl4?fs=1&hl=en_GB" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" />
or:
- enter code in "Link"
Result: code remains complete and video is shown, but string
">
appears below the video in front-end blog
Problem using a link:
YouTube? set </embed> between <a href> and </a>, which is changed by DC 2.2.2 to "> and after saving the entry to ">
This problem was reported with DC2.2.
Change History
comment:3 Changed 13 years ago by ThomasD
Le bug n'affecte pas que la balise Youtube mais toutes les balises <object> qui se retrouvent systématiquement tronquées (Youtube, dailymotion et vimeo en sont donc affectés)
comment:4 Changed 13 years ago by franck
Ça devient urgent de trouver un éditeur qui tienne la route et qui soit accessible !
comment:5 Changed 13 years ago by franck
- Status changed from new to closed
- Resolution set to duplicate
Ce ticket est un doublon du ticket:1054, je ferme.