Starting from PanOS 4.1 it is possible to use URL Category's as Security Policy match (URL License required)
So it should be possible to create a custom URL category where you maintain your URL whitelist
and combine this Security policy with App youtube and web-browsing
Place this Policy before your "deny youtube" Rule
This should allow youtube for a specific URL.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!