There are several problems with current implementation of multimedia filter in 1.8:
- xhtml - use <span> instead of <p> - because p can not be used everywhere
- xhtml - entities in mp3 player
- potential xss when using javasctipt - always use stripslashes_js() when constructing javascript strings
- regex not optimal - icorrect use of count, missing dimension option
- video embedding can be made more compatible