Visibility and opacity for video