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).
Related
I'm sharing a url which has meta tag for 'video' to show a youtube video when shared. Everything works fine and the video plays on fb, but not able to follow link and no description. If i click video title, video starts playing.
This is what i see. Clicking anywhere will play video.
Expecting something like the following(as youtube do) So clocking on play will play video and clicking link will take users to my page.
Got It. I just tried comparing meta tags line by line with youtube. The point is, Don't use Meta property og:video.
Use only og:video:url && og:video:secure_url
When I share a link to any Youtube video the video is not loaded to the chronicle and only the link appears in the post as shown in the first link hereafter. In comparison links to vimeo video work well as shown in the second link hereafter. Could you tell why this happens with the links to Youtube video?
https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn2/602987_10200981706798791_1321606490_n.jpg
https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-frc1/998556_10200981706998796_1641522632_n.jpg
Refresh your page, or restart the browser. Sometimes it deosn't show the preview.
i am facing a problem while sharing a youtube video from my website using facebook share button,
the website contains Article, pictures and Videos imported from Youtube, all meta tags are well formatted and provided. but only with youtube when i try to share a video thumbnail is not shown !!! in the other side the description and the title all is shown and right.
i tried to check what facebook is recognizing from my website through (developers.facebook.com/tools/debug) and the thumbnail is there !!!!
i also tried to take the video url directly from youtube and paste it to facebook and the thumbnail is shown, only when i click the share button from my website to share a youtube video the thumbnail disappear.
please help and thanks in advance.
So the story is this, I added a custom object to my app called Music Video and an action called Watch. I have all the needed meta tags in my pages to show the flash video, the linter reads them perfectly, it says that the type of share for my object is Video also.
If I post it using the like social plugin the flash video shows just fine but with my custom Watch action just shows the thumbnail and no play button, no nothing.
Do you know any example of apps using the new open graph api to embed video?
Facebook currently does not embed Flash video alongside stories generated from the build-in Watch action or on custom actions. Facebook will however embed the video if the URL is organically shared (copy and pasted into the Composer in Facebook) or liked via the Like button.
For now, this means a click on the watch news feed or ticker story will drive the user to your site, where you can authenticate them, play the video, and publish another watch action on their behalf.
I don't know when the changes took effect, but you can check it right here:
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.