I'm aware of this tutorial: Hiding a Video Player When There Is No Video to Play. However, my video URLs are not stored as fields in the main Projects database. My video URLs are stored in a separate Videos database that references the Projects database. How can I modify the code from the tutorial to access video items in a referenced database?
Essentially I would like to iterate through the Video database and if there is no video to play for this particular item page, then hide the video player.