Youtube without plugin and without desactivate visual editor
-
Hello,
I am a new WP user and I have a problem with videos, like many other users according to what I saw on this board.
Bonjour,
J’ai importé ce week-end tous mes anciens posts de DotClear 2 vers WP 2.2. C’est donc mes tous débuts dans WP :).
J’ai un problème avec les vidéos quand je modifie sous WP 2.2 un ancien billet importé de dc2. Un exemple valant parfois mieux qu’un long discourt…
I move my blog from DotClear 2 to WordPress 2.2
In DotClear this code worked perfectly :
<ul> <li>Interface graphique sur écran tactile Multi-touch, permettant d'interagir avec ses deux mains sur l'écran (Minority Report effect ;-).</li> </ul> <p class="center"> <object type="application/x-shockwave-flash" data="https://www.youtube.com/v/RPwaUp4gepU" height="350" width="425"> <param name="src" value="https://www.youtube.com/v/RPwaUp4gepU"> <p><i>Vidéo d'nterface graphique sur écran tactile Multi-touch (Minority Report effect ;-)...</i></p> </object> </p>
But when I modify another thing that the video code in this post, and save it, I have this code :
<ul> <li>Interface graphique sur écran tactile Multi-touch, permettant d’interagir avec ses deux mains sur l’écran (Minority Report effect ;-).</li> </ul> <p class="center"> <object type="application/x-shockwave-flash" data="https://www.youtube.com/v/RPwaUp4gepU" height="350" width="425"> </p> <param name="src" value="https://www.youtube.com/v/RPwaUp4gepU"></param> <em>Vidéo d’nterface graphique sur écran tactile Multi-touch (Minority Report effect ;-)…</em> </p> <p> </object> </p>
So, my video code is modified by WP but the main xhtml tags are not erased.
Before all that I modify my kses.php, like this page (dotclear to wordpress migration) recommand. I suppose that this is the reason why the main “video tags” are not erased.
I tried to put my original code in the “code” section of post edition but that makes the same thing.
I must be possible to add a video to a post in WP without desactivate the visual editor each time you want to add a vidéo, and without adding another plugin, isn’t it ?? ??
- The topic ‘Youtube without plugin and without desactivate visual editor’ is closed to new replies.