Test Page for Hiding Player if It Has No Content

Using the JavaScript Player API and CSS to hide the video player if the playlist assigned to it has no videos, or if it is a single video player that has no video assigned it (or if the video has been deleted or deactivated).

Results