The video embedded by WordPress 2.9 hasn't the parameters <param name='wmode' value='transparent' /> and <embed wmode="transparent" ... >.
This makes it stay above a dropdown menu and any other elements on the
page. Yes, it is possible to modify the code returned by oEmbed for flash videos!
You have to use the add_filter function of Wordpress to modify the embed_oembed_html.
The code below filters the embed code stored by WordPress in the database. Tis code just inserts <param name="wmode" value="transparent"></param> and wmode="transparent" in the required places.
Create a file functions.php or use the one in your themes folder if there is. Put the code given below before the closing '?>' at the end of this file. As soon this code is in place, it should filter the video object and embed code. The problem of a dissappearing menu should be gone!
The code snippet for your theme's functions.php:
function add_transparent($oembvideo) {
$patterns = array();
$replacements = array();
$patterns[] = '/<\/param><embed/';
$patterns[] = '/allowscriptaccess="always"/';
$replacements[] = '</param><param name="wmode" value="transparent"></param><embed';
$replacements[] = 'wmode="transparent" allowscriptaccess="always"';
return preg_replace($patterns, $replacements, $oembvideo);
return $oembvideo;
}
add_filter('embed_oembed_html', 'add_transparent');
please BACKUP original files to be able to step back!!