Hi iam sharing my swf player to google+.But its comming as url insted of player.Click here to see my swf player page
i try this below code for sharing google plus
<a href="https://plus.google.com/share?url=<?php echo
rawurlencode('https://www.songdew.com/flash/songdewplayer_new.swf?plyr_songid=6428&
Mybasepath=https://www.songdew.com/&MyTxt=Eclectica&MyImg=https://www.songdew.com/files
/2510/tracks/waveforms/51d5167897bcd2db4fb7fd1f9db9e4.png&MyTxt1=https:
//www.songdew.com/index.php?option=com_music&cpanel=hide&view=display&id=6428%22');?>"
onclick="javascript:window.open(this.href,'',menubar=no,toolbar=no,resizable=yes,scrollbars
=yes,height=600,width=600');return false;"><img
src="https://www.gstatic.com/images/icons/gplus-64.png" alt="Share on Google+"/></a>
On the web, only uploaded videos through the Google+ interface OR videos that are hosted on specific sites such as YouTube or Vimeo will display as embedded players.
Related
is there a way you can get video thumbnail from another people video or post?
I tried searching in google and stackoverflow and all i found is getting your own video thumbnail which is working fine by using https://graph.facebook.com/v11.0/443055553744880/thumbnails?access_token=my_access_token but it is not working if i change the video_id to other people video_id (443055553744880 is the video_id). I want to get any public video thumbnail regardless of who post it, not just my own video. Is there anyway to do that?
Thanks in advance
No, that is not really possible.
For access to videos on pages you do not have admin access to, you would need the Page Public Content Access feature - only the purpose of that is to “Provide competitive benchmark analysis”, so it is probably unlikely you would get it approved for other purposes such as to show videos on your site.
And for access to any content on user profiles, you would need the individual user’s permission first.
If you just want to show the videos somewhere, then you can use the Embedded Video & Live Video Player for that, or the oEmbed endpoints.
I want to make an app which shows video from my YouTube channel or from my playlist using using YouTube API..
the app should be like this..
app should display list of all video in playlist and when user click on any video it should be played...
how can i do this app ?
if you know solution please send both java and xml code for this.. or send a link from where i can download source code
Checkout PlaylistItems, it returns all the videos from your playlist.
"A playlistItem resource identifies another resource, such as a video,
that is included in a playlist. In addition, the playlistItem resource
contains details about the included resource that pertain specifically
to how that resource is used in that playlist."
For Java code samples, checkout the Official Youtube api-samples/java for code reference.
Some youtube videos has those ads show up on video at the bottom of the screen. Is there any which I can find out which videos have these kind of ads?
You can use the listener services which have methods such as onAdStarted().
Full dev doc: https://developers.google.com/youtube/android/player/reference/com/google/android/youtube/player/YouTubePlayer.PlayerStateChangeListener
I have a native iOS & Blackberry App. You can create personalized videos.
When people share their video clip on Facebook, I would like the company logo and the accompanying link to go through to our website (not FB App page).
Instagram, Blackberry and Twitter all do this.
For e.g. when someone uploads an Instagram photo - it has the Instagram logo, with link to their website underneath the upload.
Do you know how I can do this? Any help would be greatly appreciated.
Thanks
First your Facebook app will need to request manage_feed permissions from the user. Once you have manage_feed, you can http POST the posting using the Graph API to put the stream item into their feed. See https://developers.facebook.com/docs/reference/api/post/ for further info.
Has anyone posted a video via the Facebook Connect API to their profile / feed page?
Ideally, the video should be queued to the first frame with the superimposed Facebook's blue right arrow "play" button. Or if a thumbnail representing the video has to also be uploaded (rather than the video being queued to the first frame) as well, this is fine.
Also, when the video, or thumbnail, on the profile page is clicked, the video plays where it is - rather than going to another page off Facebook to be played there.
The question may have not been correctly worded. The term "API" was misleading to a couple of folks - and I apologize for that.
What I was trying to do was to "share" a video by linking it in Facebook, AND to have it play in the profile feed (ie. to not leave the Facebook site while viewing the video - just like YouTube and Hulu.com do).
After digging into the JavaScript that Hulu was using to get this behavior, we noticed that a link tag was missing between our version of the <meta> and <link> tags, and Hulu's.
Facebook's web page, http://www.facebook.com/share_partners.php, was missing a tag that you should have if the content is a video, and you want it played in the profile feed.
Along with:
<link rel="video_src" href="http://www.example.com/player.swf?video_id=123456789"/> ...
You should include:
<link rel="media:video" href="http://www.example.com/player.swf?video_id=123456789"/>
That will get it to play in the feed. BUT, your domain name must be whitelisted.
To get your domain whitelisted, fill out this form: http://www.facebook.com/share_partners.php#/developers/developer_help.php
I got a reply, and approval, within a day! Kudos to the Facebook developer support staff!
Use the Video.upload as described by stevedbrown or the Stream API or if you want to go simple share the link via API or share link.
Have you read the Facebook developer wiki page on this? That explains what is possible and how, it's pretty decent.