make embedded video scale with window