I have found a few good answers for this but in PHP, is there a method with JavaScript or with iOS?
The links I have found:
- How to get Vine video url (not sure how this is implemented)
- Get .mp4 source and poster image from Vine Id (PHP) - it's php so it's not what I am chasing.
As an example, when you open "inspect element" on the video, this code should be present (with different id's naturally):
If you type in the url("https://v.cdn.vine.co/r/videos/..... .mp4) and stop at the .mp4 the video will play as a video in your browser like so:
https://v.cdn.vine.co/r/videos/283A5A8FE01255752559474962432_365d817ea89.4.3.6417578100978898648.mp4
This is what I want; the url("https://...."). I can edit the entire content of the URL to only get the .mp4 and not the content afterwards, which is a .jpg. That I can do. I can't seem to get the url content by using the https://vine.co/v/eUm1bYVvWj6 link as is, without using PHP.
Any help would be much appreciated.
I have both UIWebView and MPMoviePlayer available and can use either a HTML string in my urlRequest or simply play the .mp4 URL with MPMoviePlayer. I just want to know how to get the .mp4.