Can an iPhone get a virus from a YouTube video if it was not played on Safari?

I was just wondering. I have the YouTube app installed on my iPhone. Yes it was on the App Store and was the app made by Google.

It's impossible for an iPhone to get a virus.

… Unless it's Jailbroken. But still the possibilities are very very low.

Apps from the Apples APPSTORE are 100% safe. I believe that apple checks each app before it's released, unlike google in their Playstore.

1.iPhones getting viruses is hard enough
2. Certainly would not get one by playing a video