How to play pre/post-roll ads on facebook using jwplayer? - facebook

I have successfully posted videos on facebook using jwplayer and make it playable on facebook like youtube.
Here is my code-
<meta property="og:type" content="movie" />
<meta property="og:video:height" content="260" />
<meta property="og:video:width" content="420" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:title" name="title" content="Drunk Guy Runs Over Flower Girl"/>
<meta property="og:description" name="description" content="This is a fail! Mayb he's!"/>
<meta name="keywords" content="Drunk, Guy, Runs, Over, Flower, Girl, "/>
<meta property='og:image' content="http://site.com/video_upload/video_imgs/big_1467487783.jpg" />
<meta property="og:video:secure_url" content="https://player.longtailvideo.com /player.swf?file=http://site.com/video_upload/big_1467487783.mp4&image=http://site.com/images/logo.png&autostart=true&advertising: {client:'vast',schedule: { myPreroll: { offset: 'pre',tag: 'http://xp122.zedo.com/jsc/c2/fns.vast?n=2135__amp__c=109/1__amp__d=22__amp__s=1__amp__v=vast2__amp__pu=__page-url____amp__ru=__referrer____amp__pw=__player-width____amp__ph=__player-height____amp__z=__random-number__'}}}" />
<meta property="og:video" content="http://player.longtailvideo.com/player.swf?file=http://site.com/video_upload/big_1467487783.mp4&image=http://site.com/images/logo.png&autostart=true&advertising: {client:'vast',schedule: { myPreroll: { offset: 'pre',tag: 'http://xp122.zedo.com/jsc/c2/fns.vast?n=2135__amp__c=109/1__amp__d=22__amp__s=1__amp__v=vast2__amp__pu=__page-url____amp__ru=__referrer____amp__pw=__player-width____amp__ph=__player-height____amp__z=__random-number__'}}}" />
My issue is:
How to send pre/post roll ads on facebook so that it can play on facebook as it plays in my website which most probably needs to send through "og:video" tag
Related Issue

In Longtail, ads get stripped from Facebook embeds.Facebook do not support ads from Longtail.whereas You need to create a facebook app and pass ad tags like Youtube ads are working.

Yes, it is possible, but you need to use config tag instead of ?file=
Like this:
http://player.longtailvideo.com/player.swf?config=
And add your video and ads tag in config file.

Related

Share my website with Video instead of Image on Facebook

I looked on how to share a video from my website on facebook like youtube
And comment there but no answer
My web site is www.wise-event.co.il and my meta tags:
<meta property="og:site_name" content="Wise Event - הדרך החכמה לניהול הערב" />
<meta property="og:title" content="Wise Event - ניהול אירועים ומוזמנים בסמרטפון" />
<meta property="og:type" content="video" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video:height" content="281" />
<meta property="og:video:width" content="500" />
<meta property="og:video" content="http://vimeo.com/moogaloop.swf?clip_id=97653968" />
<meta property="og:video:secure_url" content="https://vimeo.com/moogaloop.swf?clip_id=97653968">
<meta property="og:image" content="http://www.wise-event.co.il/Content/img/WE/logo-final.png" />
<meta property="og:url" content="http://www.wise-event.co.il" />
<meta property="og:description"
content="אנו גאים להציג את מערכת Wise Event, המספקת נתונים לפני, בזמן ואחרי האירוע אודות האורחים, יוצרת מאגר לקוחות, ומנהלת את זרימת הקהל פנימה. " />
<meta name="author" content="Wise Event">
tried:
regular url supplied by vimeo... no luck
debug it using the facebook developer debugger - no warnings
Why is it still brings the image instead of the video?
In fact, your code works as shown on the Facebook object debugger : https://developers.facebook.com/tools/debug/og/object?q=http://www.wise-event.co.il
The last part says it's a video with the good attributes of the video. The reason you think there is an error is because the Share Preview doesn't show a video, but if you try to actually share your url you can see the video as show here :

Sharing App on Facebook + Video

I am launching an app today, and would like to share it on Facebook. I also have a video I have made to go along with it to use as promo. Is it possible to have a video embedded in the post, that then links to the app store link? I assume this is using meta, I have tried using:
og:title,og:site_name,al:ios:app_name,og:video:url,al:ios:app_store_id
Take a look at the Open Graph specification for the correct OG tags: http://ogp.me/#type_video
There is also an example if you scroll up:
<meta property="og:video" content="http://example.com/movie.swf" />
<meta property="og:video:secure_url" content="https://secure.example.com/movie.swf" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video:width" content="400" />
<meta property="og:video:height" content="300" />

Cannot share a flash video on Facebook news feed to play inline

I used opengraph tag to embed a flash player on Facebook news feed, it worked well before April 2014. I don't know why now it is not working any more. The embed tag as sample below:
<meta property="og:site_name" content="Sitename" />
<meta property="og:title" content="Title" />
<meta property="og:description" content="Description" />
<meta property="og:type" content="video" />
<meta property="og:url" content="url" />
<meta property="og:image" content="image url" />
<meta property="og:video" content="flash.swf player url" />
<meta property="og:video:height" content="246" />
<meta property="og:video:width" content="398" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
I have been searching on Google a lot but still cannot find the result. Does FB changes something?
It is a Bug Status: Assigned please check : https://developers.facebook.com/bugs/1503212169899736/
You can work around this by hosting your swf player on Amazon S3 servers . it works for me .
I have the same problem since 21 APR , i tried everything
Try the Debug tool : https://developers.facebook.com/tools/debug/og/object?q=
and check if your site enabled -- Video embedding on Facebook enabled --

How to embed my own HTML5/flash video player in facebook wall post (using rails + koala)?

I would like to embed my own HTML5 (with a flash backup) player on a Facebook wall post.
I'm using rails and ruby Koala.
I have seen this: https://developers.facebook.com/docs/share/ for meta tags that can be added, but it's either for a link to my web page or to a video file to load.
Appreciate if anyone can help me :)
http://www.longtailvideo.com/support/blog/19150/publish-your-videos-to-facebook-with-a-jw-player
Here's example of the og:tags on the link being shared so facebook can pickup the customer video player:
<meta property="og:type" content="movie" />
<meta property="og:video:height" content="260" />
<meta property="og:video:width" content="420" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:title" content="Big Buck Bunny" />
<meta property="og:description" content="Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation." />
<meta property="og:image" content="http://www.example.com/bunny.png" />
<meta property="og:video" content="http://www.example.com/jwplayer/player.swf?file=http%3A%2F%2Fwww.example.com%2Fbunny.flv&autostart=true" />

Open Graph Protocol - og:movie with youtube link

Wanted scenario:
people link to my website via Facebook
open graph data pops up (name, description, thumbnail, ...) (which works)
when you click the thumbnail a youtube video plays (which doesn't work)
Facebook seems to know that there is a video to be played, but doesn't want to go through with it.
My code:
<meta property="og:image" content="<url>" />
<meta property="og:site_name" content="<name>" />
<meta property="og:description" content="<description>" />
<meta property="og:video" content="http://www.youtube.com/v/S3_AwK3ujQI&fs=1" />
<meta property="og:video:width" content="560" />
<meta property="og:video:height" content="315" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<link rel="video_src" href="http://www.youtube.com/v/S3_AwK3ujQI&fs=1" />
<meta name="video_type" content="application/x-shockwave-flash" />
<meta name="video_width" content="560" />
<meta name="video_height" content="315" />
What seems to be wrong? I read somewhere that the solution has to do something with SSL, but since I link to a external YouTube video that shouldn't be the case; or is it?
You also need an og:picture. Using https for the video url will let it play for people who have Facebook on secure. Go to a youtube page and check out what they're using for og tags.