I've come across some helpful answers in PHP, but I'm wondering if there's a way to achieve the same results with JavaScript or iOS.
Here are the links I found:
- How to get Vine video url (not sure how this is implemented)
- Get .mp4 source and poster image from Vine Id (PHP) - although it's in PHP, which isn't what I'm looking for.
For example, when you inspect the element of the video, you should see this code (with different ids):
https://i.sstatic.net/r7JKN.png
If you type in the URL ("..... .mp4) and only stop at the .mp4, the video will play in your browser like so:
This is my goal; extracting the URL ("https://...."). I can trim down the URL to just get the .mp4 without the extra content afterwards like a .jpg. However, I'm struggling to retrieve the URL content using the link directly without relying on PHP.
Any assistance would be greatly appreciated.
I have both UIWebView and MPMoviePlayer at my disposal and can either utilize an HTML string in my urlRequest or simply play the .mp4 URL with MPMoviePlayer. I just need guidance on obtaining the .mp4 file.