Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

URL encode skin for Facebook embed


I want to have a video player appear on Facebook when someone shares the page where a video resides.

Currently I'm prototyping the URL that would go in the og:video tag to be something like:

http://www.josh-peterson.com/jwplayer-5-0520.swf?file=https://s3.amazonaws.com/prod.ninu/encoded_files/28290/web_h264_28290.mp4&skin=bekle

I'm following the resources listed below, but I can't get a couple of the configuration options to have any effect when I visit the URL:

1) skin. Is it possible to just name a JW5 default skin? If I must hard-code a path to a copy of the skin that I'm hosting, could you please link me to bekle? It's hard to find JW5 stuff online anymore.

2) Sharing block. I can't get any of these to have any effect, and it's probably because I'm not url-encoding correctly. Would really appreciate an example URL string with these options included.

Resources:
http://support.jwplayer.com/customer/portal/articles/1413113-configuration-options-reference
http://www.jwplayer.com/blog/publish-your-videos-to-facebook-with-a-jw-player/
http://support.jwplayer.com/customer/portal/articles/1409823-social-sharing-overlay
http://support.jwplayer.com/customer/portal/articles/1406968-using-jw-player-skins

Thx

7 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Since this is JW5, you can’t simply load a skin like that since that is for JW6 and loads the skin from our CDN. You would need to have a skin file on your web server and then point to the full path to the skin file.

josh

User  
0 rated :

Ok, sounds great Ethan. I was able to find a copy of this skin I think here: http://developer.longtailvideo.com/trac/browser#tags/skins/bekle

Do you have an example of the url encoding to configure the sharing block?

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad you found it. What do you mean by the url encoding?

josh

User  
0 rated :

In other words, I just need to be able to configure the sharing block's attributes via url query string parameters.

The configuration options reference details all the options, but the examples are for setting them with javascript. I've been taking guesses at what the query string parameters for the social block would look like, but it doesn't seem to be having any effect.

This is the page I'm looking at:
http://support.jwplayer.com/customer/portal/articles/1413113-configuration-options-reference

Ethan Feldman

JW Player Support Agent  
0 rated :

That is for jw6, not jw5. The support for jw5 is longtailvideo.com/support/jw5

josh

User  
0 rated :

We're just going to be embedding the mp4 file raw now that Facebook allows you to do that. Figuring out how to get something presentable with JW5 has been like pulling teeth.

IMHO it's a shame that JW6 doesn't allow for streamlined, customizable Facebook sharing in this era when social is king.

Ethan Feldman

JW Player Support Agent  
0 rated :

It was a conscientious decision to remove this method of embedding from JW6. (player.swf?file=blahblah.mp4)

This creates a big security issue by allowing the player to be embedded in this way.

This question has received the maximum number of answers.