Flash movies have to be Posted twice to Announcements with AntiSamy High setting

Description

When adding a Flash movie to Announcements, the first time you post you get an error :

Error showing on screen is:
Alert: The embed tag contained an attribute that we could not process. The movie attribute had a value of "http://qa1-nl.sakaiproject.org/access/content/group/ace12b5d-c141-47a9-8bdb-f94c3131a2b5/barsandtone.flv". This value could not be accepted for security reasons. We have chosen to remove the entire embed tag in order to continue processing the input.

Second time you post, it saves and Flash movie plays fine.

Happens on Windows 7 / IE 9; Mac / Firefox ; Windows 7 / Firefox; Mac / Safari ; Mac / Chrome ; Windows 7 / Chrome

Here's an example of the source HTML before saving:
<p>
<object data="/library/editor/ckextraplugins/movieplayer/StrobeMediaPlayback.swf" height="240" id="movie451866" type="application/x-shockwave-flash" width="320"><param name="movie" value="http://qa1-nl.sakaiproject.org/access/content/group/ace12b5d-c141-47a9-8bdb-f94c3131a2b5/barsandtone.flv" /><param name="FlashVars" value="src=http://qa1-nl.sakaiproject.org/access/content/group/ace12b5d-c141-47a9-8bdb-f94c3131a2b5/barsandtone.flv&amp;showplayer=always&amp;width=320&amp;height=240&amp;showiconplay=true&amp;autoplay=0" /><param name="allowFullScreen" value="true" /></object></p>

source HTML - after saving (Post Announcement)
<p>
<object data="/library/editor/ckextraplugins/movieplayer/StrobeMediaPlayback.swf" height="240" id="movie451866" type="application/x-shockwave-flash" width="320"><param name="FlashVars" value="src=http://qa1-nl.sakaiproject.org/access/content/group/ace12b5d-c141-47a9-8bdb-f94c3131a2b5/barsandtone.flv&amp;showplayer=always&amp;width=320&amp;height=240&amp;showiconplay=true&amp;autoplay=0" /><param name="allowFullScreen" value="true" /></object></p>

Activity

Aaron Zeckoski May 1, 2013 at 1:28 PM

Tried it on trunk, no issues

Check out my site here (admin/admin)
http://nightly2.sakaiproject.org:8085/portal/site/d39877f8-dc74-461b-a0d2-f301fd426e86/page/88c0c7c5-1045-4b97-a908-fd8331b4f15c

Announcement has an flv file in there which is hosted in resources

Sam Ottenhoff May 1, 2013 at 12:34 PM

Please see SAK-23416.

This is a duplicate.

Cannot Reproduce

Details

Priority

Affects versions

Components

Assignee

Reporter

Created May 1, 2013 at 12:31 PM
Updated April 25, 2018 at 3:19 PM
Resolved May 1, 2013 at 1:28 PM