Dotclear

Ticket #1153 (closed defect: duplicate)

Opened 15 years ago

Last modified 13 years ago

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:

  1. Open a new entry in DC using XHTML
  1. 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&amp;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&amp;hl=en_GB" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

Either:

  1. 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&amp;hl=en_GB" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" />

or:

  1. 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 "&gt;
This problem was reported with DC2.2.

Change History

comment:1 Changed 14 years ago by bruno

  • Priority changed from high to normal

comment:2 Changed 14 years ago by bruno

  • Milestone 2.3 deleted

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.

Note: See TracTickets for help on using tickets.

Sites map