how to get stream link from live video - streaming

how can I get direct stream link of live videos and play in VLC player. for example how should I get direct link of this page :
http://www.sportingvideo.org/20161005/vv57f4dce9e46e83.75702779-1448498.html

Related

How to add thumbnail to facebook scheduled LIVE VIDEO using API

I want to add thumbnail to facebook LIVE VIDEO using graph api. I saw some websites able to do that , they can add thumbnail to live video. there is no docs available to do that.
I tried to upload thumbnail to the live video attachment but not worked.
some website are able to add the thumbnail to the scheduled live video , see the above screenshot with thumbnail
As far as I know, there's no standard way of doing that. However, if you tried getting the data of the live video after the live stream has started, it will include an iframe that has the video ID in its source. So the process would be something like this:
Create the live video
Start the live stream
Get the live video data
Parse the iframe content and extract the value from the src attribute
Get the href query param from the extracted value
The last part of the href is the actual video ID that will show in feeds
Use that video ID to add the thumbnail
I would advise adding some latency before step #3 so that you can be sure that the video has been created in feeds.
USE THIS
https://developers.facebook.com/docs/graph-api/reference/live-video/#Creating
Include event_params: {"cover" : "<thumbnail url>"} in the request parameters
Cover photo won't show up in timeline. (You need to click on more and then click on events)

Video player with YouTube video link for flutter app

I have a question about Video playing. Can I use video_player (without using another package) for YouTube videos. If so, how? When I set the video URL, the console is showing me the following error :
Unhandled Exception: PlatformException(VideoError, Failed to load video: Operation Stopped, null, null)
Thanks for your attention :)
I do not think you can play Youtube videos via URL with this package. Seems like you need an URL of the video file (you could notice that in the documentation, where the URL is a specific place in the server, e.g. https://www.sample-videos.com/video123/mp4/720/big_buck_bunny_720p_20mb.mp4). Meaning, you need access to the video file and not a video URL on Youtube.

List of youtube videos in my app

I want to do one application in which i want to get the list of YouTube videos in one UITableView.So how to get that list of YouTube videos. Is there any api for YouTube information.
follow Youtube API
https://developers.google.com/youtube/
You can use PSYouTubeExtractor.h class It can get youtube mp4 video url and than downloading and viewing is not a problem
Here is my example https://github.com/comonitos/youtube_video
Google "youtube api"
First reference Link !

Streaming video from Facebook

I want to stream a video from Facebook to my site and use my own custom video player (flowplayer for instance) to play it. Basicly I want to access the registered user's videos and play them in my application. is it possible? If it is, how can I achieve that?
Fairly easy, but there are a few steps to go thru.
Grab a list of their videos from the Graph API me/videos using their user access_token
Present user with list of their videos, let user select video to watch.
For the id of the video selected, call the Graph API and FQL the src or src_hq which gives you the link to the mp4 of the video
Point your custom player to the mp4 link.

Youtube and Facebook Video opening in media player when clicking button

I am noob with iPhone programming. I want to ask question regarding the Video and Facebook link.
I create list of page and when user clicks page, the view will show description of video and a button to play the video.
1.Is it possible to play facebook and youtube video in media player when user clicks Button?
because each page has different video, and i only get embedded link of a youtube video (not video file format and the video identifier).
2.How to send parameter to IBAction? Because when user click button it depends on the video link on selected page.
What my apps look like will be similar with SBS News Australia apps in section part where user can click play button and go to media player.
Thank You!
Unfortunately you can't play YouTube (or Facebook) videos with MPMoviePlayerController. You can open and play a YouTube video with UIWebView, but you can't play any other flash video (like Facebook videos).