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

Embed Self Hosted Audio using JWPLAYER


I am looking to embed an audio clip so that it can be played inline on Facebook when posted. I have been able to embed without issue if and only if I upload or post the URL of the audio clip in question via the dashboard. When the audio is uploaded via the dashboard first, the URL to be shared is https://content.jwplatform.com/previews/xxxxxxzG-xxxxxx27 where xxxxxxzG represents the uploaded audio and xxxxxx27 is the JWPLAYER.

In my case, I need to be able to obtain a URL similar to "https://content.jwplatform.com/previews/xxxxxxzG-xxxxxx27" since it contains all of the necessary Facebook "og:" tags. However, I do not want to upload audio to JWPLAYER each time there is new audio data. This means I would never get the unique identifier for the dashboard uploaded audio in order to construct the necessary URL. Instead, I'd like to use the JWPLAYER SWF hosted by JWP in conjunction with audio hosted on my servers to post and play inline on Facebook. I've searched feverishly through documentation to no avail. How can I go about achieving this?

Thanks in advance...

4 Community Answers

Donni

JW Player Support Agent  
0 rated :

We currently do not provide the ability to post inline on Facebook. This was something that was possible with JW 5 but it is not supported anymore.

g...

User  
0 rated :

Donni,

Thanks. Recently, I was able to get the audio to post inline and become playable inline on Facebook. My issue now is that in order for that to happen, I must upload the URL of my self hosted audio file up to JWPlayer via the dashboard. Uploading the audio URL create some Media Key which is needed to construct the necessary player URL. Searching through documentation, I do not see any examples as to how to upload the URL via an API in order to receive the media key.

Is uploading the audio URL to JWPlayer each time necessary?

Is it possible to pass in the audio URL similar to this "/player.swf?file=http%3A%2F%2Fyoutube.com%2Fwatch%3Fv%3DB-YRHQN5e9Q", as opposed to generating a media key first and using a URL similar to this "https://content.jwplatform.com/previews/MediaKEY-JWPlayerKEY"?

Thanks again..

Alex

JW Player Support Agent  
0 rated :

Hi there,

Donni is out of the office this week, but I will be more than happy to take over for him.

We can no longer officially provide support for sharing content through the player in order to be playable inline on Facebook. It may work some times but it may not work other times. This is due to limitations being imposed on Facebook’s end.

If you did want to try to share your media onto Facebook, you would have to add the URL of the actual media file to your Dashboard. Once added, a Media ID for that piece of content will be displayed on the content’s detail page. You can then plug that Media ID and a corresponding player key into the URL scheme you have to embed the player.

Again, we can not guarantee any success sharing content to Facebook and having it play inline on the Facebook news feed.

Please let me know if you need any more help or have any other questions.

Thank you!

g...

User  
0 rated :

Alex,

Thank you for your response. I will build with that information in mind. Hopefully, I can find an API which makes the above process easier.

Thanks

This question has received the maximum number of answers.