I was struggling when i found that when you opened an image on prettyphoto and you had an embed youtube video at the description it would show over the pics…after googling and trying i found 2 options to fix this.
Option 1
add
&wmode=opaque
at the end of the iframe url of the embed code
Option 2
i found this method because i did not want to go to all the embed videos i had and modify them, so this you do not need to add the &wmode=opaque to the url it will do it automatically
You have to create a file named scripts.post.tpl at this folder skins/YOU_SKIN/customer/addons/my_changes/hooks/index/
The file should contain this:
```php
{literal}
{/literal}
```
This code was found at http://maxmorgandesi…z_index_issues/
I am be no mean a coder so if there is someone who knows of a better way please post it