Reputation: 2215
I want to play video in videoview from Twitter
response. But there is no extension(like .mp4) in url. I have get null video_info object from response where i use fabric for that.
So how to play video from that url or any other alternative solution?
Upvotes: 0
Views: 939
Reputation: 7686
Look like it is a Twitter video, right? You need to get the final .mp4 Uri.
You should start over the Twitter API or, you can check this php example: Get twitter video mp4 url
You would need to implement that over JAVA with Twitter4j (for example)
Upvotes: 2
Reputation:
You can embed a tweet with a video:
https://dev.twitter.com/web/embedded-video
Check Customize video display
options.
Upvotes: 0