Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3975

Issue when inserting a video using the {{html}} macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1 M1, 2.0.4
    • 1.9
    • WYSIWYG Editor
    • None
    • FF3 on MAC OS X + AdBlockPlus FF Addon enabled
    • Integration
    • Medium

    Description

      • Create a document, edit it in WYSIWYG
      • Click on Macro, select the HTML macro
      • Insert the following in the content field:
      <div><object width="480" height="381"><param name="movie" value="http://www.dailymotion.com/swf/x5wi6m_xwiki-repository-against-codeswarm_tech&related=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/x5wi6m_xwiki-repository-against-codeswarm_tech&related=1" type="application/x-shockwave-flash" width="480" height="381" allowFullScreen="true" allowScriptAccess="always"></embed></object><br /><b><a href="http://www.dailymotion.com/video/x5wi6m_xwiki-repository-against-codeswarm_tech">XWiki repository against code_swarm</a></b><br /><i>envoy&eacute; par <a href="http://www.dailymotion.com/jvelociter">jvelociter</a>. - <a href="http://www.dailymotion.com/fr/channel/tech">Vidéos des dernières découvertes scientifiques.</a></i></div>
      
      • Save the page
      • the video is displayed fine on the page
      • Edit the page in WYSIWYG
      • Switch to the Source tab
      • The content has been turned into this:
      (% class="macro-placeholder" style="display: none;" %)html
      
      (% style="display: block;" %)
      (((((([[http://www.dailymotion.com/swf/x5wi6m_xwiki-repository-against-codeswarm_tech&related=1||class="ecyeotghckpgaudwhqpw visible ontop" style="left: 480px ! important; top: -386.6px ! important;" title="Click here to block this object with Adblock Plus"]]
      **[[XWiki repository against code_swarm>>http://www.dailymotion.com/video/x5wi6m_xwiki-repository-against-codeswarm_tech]]**
      //envoyé par [[jvelociter>>http://www.dailymotion.com/jvelociter]]. - [[Vidéos des dernières découvertes scientifiques.>>http://www.dailymotion.com/fr/channel/tech]]//))))))
      
      • When saving the page, the video is no longer displayed

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            wikibc Guillaume Lerouge
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: