w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
how to fetch embed videos from facebook with its comments box?
http://developers.facebook.com/docs/reference/api/video/ //array of objects containing id, from, message, created_time, and likes fields. http://graph.facebook.com/603836463000637?fields=comments Permissions need : user_videos

Categories : PHP

how to fetch embed videos from facebook with its comments plugin?
You Can Embed the Post so users can directly click to see the comments There is no other way to embed the comments that are already made on the Particular Video ON facebook.

Categories : PHP

How to embed youtube videos into a rails app dynamically
You could Extract the id of the youtube video from the submitted link. for example, someone submits this link http://www.youtube.com/watch?v=XwmtNk_Yb2Q you'd want XwmtNk_Yb2Q With that id you can render an iframe element, which embeds the video. <iframe width="#{width}" height="#{height}" src="http://www.youtube.com/embed/#{video_id}" frameborder="0"></iframe> this is how it is done in @Elie Gnrd suggested gem.

Categories : Ruby On Rails

How to play youtube Embed videos on Android Device
Why do you use a WebView? It won't be needed if you use the YouTube API. More information in http://apiblog.youtube.com/2012/12/no-webview-required-with-native-youtube.html. Instead you can take a look at http://fancifulandroid.blogspot.com.es/2013/01/play-youtube-video-in-webview-without.html for information.

Categories : Android

Embed link in message field of Facebook post using Facebook sdk 3.1
Try this way : private void publishStory(String youneed, String other, String user) { Session session = Session.getActiveSession(); if (session != null){ // Check for publish permissions List<String> permissions = session.getPermissions(); if (!isSubsetOf(PERMISSIONS, permissions)) { pendingPublishReauthorization = true; Session.NewPermissionsRequest newPermissionsRequest = new Session .NewPermissionsRequest(getActivity(), PERMISSIONS); session.requestNewPublishPermissions(newPermissionsRequest); return; } Bundle postParams = new Bundle(); // here you are making your profile post postParams.putString("na

Categories : Android

Upload Videos on facebook as an app
There is not concept of posting "as an application" and not as a user. You can either post the video to a User profile or to a Page. Seems like in you case, you can create a Page for your app and then upload the videos to the Page.

Categories : Facebook

Upload large videos to Facebook with iOS SDK
I had to construct my NSData for the video parameter like so: videoData = [NSData dataWithContentsOfURL:url options:NSDataReadingMappedAlways error:&error]; I also had to change this method in FBRequestConnection.m and things started working: // // Generates a URL for a batch containing only a single request, // and names all attachments that need to go in the body of the // request. // // The URL contains all parameters that are not body attachments, // including the session key if present. // // Attachments are named and referenced by name in the URL. // - (NSString *)urlStringForSingleRequest:(FBRequest *)request forBatch:(BOOL)forBatch { [request.parameters setValue:@"json" forKey:@"format"]; [request.parameters setValue:kSDK forKey:@"sdk"]; NSString *token = reques

Categories : IOS

facebook graph api to fetch videos
You can only use WHERE on indexed fields (the ones that are marked with a star in the docs). The other stats are not available for the video itself, but to the post the videos appears in. So you need to know where the video has been used and query for this post/status/comment/... id.

Categories : PHP

Find Public Facebook Videos
Afaik you cannot search for videos, see the Search API documentation: https://developers.facebook.com/docs/reference/api/search/

Categories : Facebook

Programmatically share videos on facebook by iOS 6 app?
yes, you can do this, Facebook just has released its new framework 3.5 which will easily work for iOS5 and iOS6 http://developers.facebook.com/ios/

Categories : Iphone

Uploading photos or videos to Facebook using Python
This works for me. import requests url='https://graph-video.facebook.com/100000198728296/videos?access_token='+str(access) path="/home/abc.mp4" files={'file':open(path,'rb')} flag=requests.post(url, files=files).text print flag flag will return json containing video id on successful upload of video

Categories : Python

how to embed swf in facebook
You can use the object tag to embed your flash file, just like- <object type="application/x-shockwave-flash" data="textfla.swf" width="650" height="700"> <param name="wmode" value = "transparent" > </object>

Categories : Facebook

uploading photos/videos on facebook app running on android or ios?
"should I expect any problems with uploading photos/videos from mobile devices -> android, iOS, blackBerry ?" No. But 1 thing you should know that the user wont be able to post photos/videos to the friends wall (if that's in your requirement); yet there's a workaround that the user can tag his/her friends in the photo/video. Some links that might be useful to you- Videos Android iOS API Reference Photos Android iOS API Reference

Categories : Android

How does Youtube make their embedded videos on facebook fallback to html5 on iOS?
There are plenty services for that, just do a quick search on the internet, there are services like this: http://www.longtailvideo.com/jw-player/ it tracks if the browser/os could read flash, if able then play it, if not then play html5 Most aren't free though

Categories : Facebook

Where does Facebook store multi millions of Images and Videos. In database or somewhere else? if so, Where?
Typically? As files. On a disk. Then store the paths to those files in a database for easy lookup. (Or store a key that can be used by some network service to find the file and stream it.)

Categories : PHP

embed facebook video with comments
You Can Embed the Post so users can directly click to see the comments There is no other way to embed the comments that are already made on the Particular Video ON facebook.

Categories : Facebook

How to switch off autoplay when displaying facebook wall (includes videos) on web-page
You need to pass the argument <embed width="100%" height="100%" name="plugin" src="https://fbcdn-video-a.akamaihd.net/hvideo-ak-ash3/v/xxxx_n.mp4?oh=yyy&oe=zzz&__gda__=aaa" type="video/mp4"> to <embed width="100%" height="100%" name="plugin" src="https://fbcdn-video-a.akamaihd.net/hvideo-ak-ash3/v/xxxx_n.mp4?oh=yyy&oe=zzz&__gda__=aaa" type="video/mp4" autoplay="false"> to do this, I think maybe you can try the following code $api_url = 'https://graph.facebook.com/' . FB_PAGE_NAME . '/posts?access_token=' . FB_ACCESS_TOKEN . '&autoplay=false'; Let me know if that way works.

Categories : Facebook

Facebook swf embed works only for selected domains
I believe the answer to this is that the swf file needs to be on an https link (see how to share a video from my website on facebook like youtube)

Categories : Facebook

Is there a way to embed facebook pictures on my website, which also allows likes, comments etc?
There's no out of the box solution that I know of - What I would do is build an application on facebook using the facebook javascript sdk to put elements on the site. First thing you'll need to do is get folks to login - Once you've got that, you can display the photos, comment box and like boxes pretty easily, if you're familiar with javascript at all. Facebook also has a bunch of plugins for comments / likes and whatnot, but no photos atm. https://developers.facebook.com/docs/plugins/

Categories : Facebook

Adobe Premiere Pro H.264 video export - Youtube upload - Facebook embed - black bars
If using the pre-settings remember you have two options SD and HD. When selecting the HD option your export won't appear to be letter-boxed (black bars). Letterbox means that a 16:9 widescreen video, played on a 4:3 display, has the black bars top and bottom. From my understanding 1920x1080 will give you bigger bars than if 720. If uploading to youtube or FB the black bars are pronounced even though the bars to appear on the file when viewing for example on your computer. I can't really determine if the black bars you're getting are abnormal without a screenshot. But here is some detail info from Adobe on exporting. http://helpx.adobe.com/media-encoder/using/export-settings-reference.html#video_exports_settings

Categories : Facebook

Share multiple videos on one page onto facebook page wall
To do this, you need to get the access token from the user accounts, and not from the FB.Login. string getPagesTokensUrl = string.Format(@"https://graph.facebook.com/me/accounts?access_token={0}",accessToken); using (WebClient wc = new WebClient()) { var pagesTokens = wc.DownloadString(getPagesTokensUrl); JObject o = JObject.Parse(pagesTokens); for (int i = 0; i < o["data"].Count(); i++) { if (o["data"][i]["id"].ToString() == ConfigurationManager.AppSettings["YOUR PAGE ID"]) { return o["data"][i]["access_token"].ToString(); } } }

Categories : Facebook

OpenCV won't open some videos of many videos of the same format
I understand that this is a crash? If so, the answer is pretty simple: there's a bug in codec, from the name of the DLL I think that's ffmpeg H264 codec. You should try to update it, or just avoid it.

Categories : C++

Pause Youtube embed when playing Soundcloud embed
it's possible. check widget api playground. you can watch all state events from soundcloud iframe widget. this can be done on flash embed too. https://w.soundcloud.com/player/api_playground.html watch for SC.Widget.Events.PLAY {"loadedProgress":0,"currentPosition":0,"relativePosition":0} event on start playing

Categories : Javascript

jwPlayer with fancy box
If you are using jquery library and fancybox with jwplayer version 6 you would do this $(function() { //this is much better then $(document).ready(function(){}); $(".jwVideo").click(function(event) { //select class attribute jwVideo assigned to a tag var myVideo = $(this).attr('href'); // select the video link from a tag in jwVideo class //in the fancybox jwplayer setup code assign myVideo to file $.fancybox({ maxWidth : 800, maxHeight : 600, fitToView : false, width : '70%', height : '70%', autoSize : false, closeClick : false, openEffect : 'none', closeEffect : 'none', content: '<div id="video_container">Loading the player ... </div>', afterShow: function(){ jwplay

Categories : Jquery

JWPlayer can't play video
It sounds as if JWPlayer requires the file extension to know how to play the file. Try url rewriting (.htaccess, iis) and basically append .mp4 (or whatever the file type) to fix the issue.

Categories : Javascript

Load jwplayer with in another swf using swfloader
Finally I have embed jwplayer with in another swf using https://github.com/flex-users/flex-iframe Here I am using jwplayer 5.8 version. This is my sample code <flexiframe:IFrame id="jwPlayer" width="480" height="360" source="http://localhost/application/player.swf? file=http://localhost/application/streams/myfile.flv&amp;controlbar=bottom&amp; viral.allowmenu=false&amp;viral.onpause=false&amp;viral.oncomplete=false"/> More on wiki https://github.com/flex-users/flex-iframe/wiki/Users-guide#create-an-iframe

Categories : Actionscript

Jwplayer setCurrentTime Not working
setCurrentTime is not a valid event in our API. onTime is, though - http://www.longtailvideo.com/support/jw-player/28851/javascript-api-reference, where are you running this?

Categories : Javascript

how to load JWPlayer in web page
I would download the JW Player from - http://www.longtailvideo.com/jw-player/download/ And then get started here - http://www.longtailvideo.com/support/jw-player/28833/quick-start-guide

Categories : HTML

Changing JWPlayer video on Click
function changeVideo(filename) { jwplayer("video") .setup({ file: filename, height: 360, width: 640 }) .load() ; } changeVideo("videoURL01"); $(".changeVideo").click(function() { var videoUrl = $(this).attr("data-video_url"); changeVideo(videoUrl); }) html to make more interesting add the videoURL as an data-attribute to the anchor <div id="video">Loading the player ...</div> <a href="#" class="changeVideo" data-video_url="videoURL2">load video 2</a> that's all you need

Categories : Javascript

Changing JWPlayer video onClick
It is because you are placing variable filename in the script as a string literal. just change this line file: " + filename + ", to file: filename, and it will work fine!

Categories : Javascript

jwplayer js api event get index of player
You can save whatever you want this way: for (var i = 0; i < videos.length; i++) { var id = videos[i]; jwplayer(id).setup({ file: "http://content.bitsontherun.com/videos/lWMJeVvV-364767.mp4", my_var: videos[i], /*WHATEVER YOU WANT AS A VARIABLE OF THE PLAYER*/ events: { onReady: function(ev) { alert('ha iniciado el reproductor '+this.config.my_var); }, onComplete: function(ev) { alert('ha finalizando el reproductor '+this.config.my_var); } } }); }

Categories : Javascript

Just started working with jwplayer, I have a few questions
To do these, you would add an image, as well as a description, to each playlist entry. Reference - http://www.longtailvideo.com/support/jw-player/29249/playlist-sidebar-component Code used: <div id="myElement"></div> <script> jwplayer("myElement").setup({ playlist: [{ file: "/uploads/sintel.mp4", image: "/uploads/sintel.jpg", title: "Sintel Trailer", description: "Sintel is a fantasy CGI movie from the Blender Open Movie Project." },{ file: "/uploads/tears.mp4", image: "/uploads/tears.jpg", title: "Tears of Steel Trailer", description: "A complete open pipeline was used to produce this visual effect film." },{ file: "/uploads/bunny.mp4", image: "/uploads/bunny.jpg",

Categories : Javascript

Video went to Idle state in jwplayer
It's not possible to prevent the player from entering the IDLE state. If you want to display an image before video playback begins, you can include a configuration option image (see http://www.longtailvideo.com/support/jw-player/28839/embedding-the-player) From the "Configuration Options" section: image: URL to a JPG/PNG poster image to display before playback is started. For audio-only media, the poster image stays visible during playback. Note these options are used only for basic setups, like playing a single MP4 video or AAC song. Use the playlist option block for everything else, like an MP4+WebM source, SD+HD quality or a list with multiple clips. See Working with Playlists for more info. If the video goes idle during playback, the current video frame is show

Categories : Javascript

Dynamic loading of jwplayer or any js file
Try this: function load_jwplayer_skin(div_id, audio_file) { if(!jwplayer) { if(!load_jwplayer_skin.oldCalls) { load_jwplayer_skin.oldCalls = []; } return load_jwplayer_skin.oldCalls.push({divId: div_id, file: audio_file}); } else { load_jwplayer_skin.oldCalls.push({divId: div_id, file: audio_file}); var oldCalls = load_jwplayer_skin.oldCalls, oldCallsLen = oldCalls.length, i = 0; for(i; i < oldCallsLen; i++) { var oldCall = oldCalls[i]; doLoadJWPlayerSkin(oldCall.divId, oldCall.file); } delete load_jwplayer_skin.oldCalls; load_jwplayer_skin = doLoadJWPlayerSkin; } } function doLoadJWPlayerSkin(divId, audioFile) { jwplayer(divId).setup({ file : audioFile, flashplayer : "/jwplayer/jwplayer.flash.swf",

Categories : Javascript

jwplayer in rails error when is added in the web
In app/assets directory create a folder named as "jwplayer" and put jwplayer.flash.swf in it. So that the directory structure looks like app/assets/jwplayer/jwplayer.flash.swf. And also update the browser to latest version otherwise it will not support HTML5. If it will still throw the same error then keep the changes as it is and replace the line flashplayer: "<%=asset_path('jwplayer.flash.swf')%>" with flashplayer: "<%=asset_path('jwplayer/jwplayer.flash.swf')%>"

Categories : Javascript

C#: Conditional compilation error in jwplayer
I have found answer to this question. Thanks @EthanLongTail for administrating jwplayer very well. I found this answer from one of answers you've given. Chnaged the code - <script type="text/javascript"> $(function () { jwplayer('my-video').setup({ playlist: [{ image: "/Images/bay.png", sources: [{ file: "@Model.FilePath" }] }] }); }); </script> That conditional compilation error didn't appear next time with this code. Because FilePath was coming dynamically so i couldn't share it properly.

Categories : C#

JWPlayer handle youtube errors
It looks like JW5 doesn't support catching YouTube errors. However, the following setup with JW6 works: <!DOCTYPE html> <html> <head> <title>YouTube Test Page</title> <script type="text/javascript" src="http://www.longtailvideo.com/jwplayer/jwplayer.js"></script> </head> <body> <div id="player"></div> <script type="text/javascript"> jwplayer("player").setup({ file: "https://www.youtube.com/watch?v=ABCD", events:{ onError: function() { jwplayer().load({file: "http://content.longtailvideo.com/videos/flvplayer.flv",duration: "27"});jwplayer().play() } } }); </script> </body> </html>

Categories : Javascript

How to stop video onclick function in jwplayer
Try using this jwplayer().remove(); or jwplayer().stop(); There's JW Player JS API Documentation

Categories : PHP

disable seek forward in jwplayer in mobile browser not working
Try this below script. var maxPlayPosition = 0.0; var seeking = false; jwplayer().onTime(function(event) { if (!seeking) { maxPlayPosition = Math.max(event.position, maxPlayPosition); } }).onPlaylistItem(function() { maxPlayPosition = 0.0; }).onSeek(function (event) { if (!seeking) { if (event.offset > maxPlayPosition) { seeking = true; setTimeout(function () { jwplayer().seek(maxPlayPosition); }, 100); } } else { seeking

Categories : Jquery

Facebook App request not sending to Facebook friends through Facebook Android SDK
Direct the request Bundle params = new Bundle(); params.putString("message", "I just smashed " + application.getScore() + " friends! Can you beat it?"); // 2. Optionally provide a 'to' param to direct the request at a specific user params.putString("to", "515768651"); // Phil showDialogWithoutNotificationBar("apprequests", params); Suggest friends Bundle params = new Bundle(); params.putString("message", "I just smashed " + application.getScore() + " friends! Can you beat it?"); String [] suggestedFriends = { "695755709", "685145706", "569496010", "286400088", "627802916", }; params.putString("suggestions", TextUtils.join(",", suggestedFriends)); showDialogWithoutNotificationBar("apprequests", params); Ref : http://developers.facebook.com/docs/tutorials/a

Categories : Android



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.