To prevent an error on the screen or a black widget, in the Creative Composer when creating the composed creative, make sure that there is no overlapping between the YouTube widget and any other widget. If that doesn’t help, you might want to switch (assuming your media player is Android based) the setting that deals with YouTube from native HTML to using the YouTube app: in that case, check that you have the latest updates of the YouTube application installed on your Android device.
Also check that the internet is stable, then in the player app settings turn on the setting “Disable HTML5 YouTube” (under the “Browser Settings” block of settings).