For example, i have a url that could be:
http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.ogg http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mov
I want a function that returns a string containg mp4, or ogg or mov from the url.
How to get mp4, ogg and mov video formats from that string?