As suggested by Fatih, the solution should go through wmode=transparent
. For the IFrame API, I used the following:
var player = new YT.Player(pContainer, { height: 300, width: 400, videoId: contentID, playerVars : {wmode: "transparent"}, events: { ... } } });
source share