• 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="http://www.youtube.com/v/RPwaUp4gepU" height="350" width="425">
    <param name="src" value="http://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="http://www.youtube.com/v/RPwaUp4gepU" height="350" width="425">
    </p>
    <param name="src" value="http://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 🙂 ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • i think it´s no possible, if you try to put the code directly is broken with </p> or so. Why don´t you try to use the plugin Viper’s Video Quicktags? It´s very useful, and it is incorporate to the visual editor, easy to use. It is necessary use plugins to put videos

    Thread Starter yazerty

    (@yazerty)

    I got it : you must write all the video code in 1 line only !

    Mmm I prefer to use Embedded Video Link (plugin) : this seems to be a useful plugin, and it is often updated (very important for a plugin !).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Youtube without plugin and without desactivate visual editor’ is closed to new replies.