
Vimeo support for JWPlayer 6
Hi Team,
We want to play vimeo videos in JWPlayer6 using the https://jwplayer.electroteque.org/vimeo api.
However, when we tried using this api it plays the vimeo videos on our localhost but fails to play the videos on live site.
Please refer to the code below and let us know what are we missing here:
Code : if (provider == '/jwplayer/vimeoprovider.swf'){
media_url = media_url +'.mp4'
return { width: 530,
height: 325,
primary: "flash",
html5player: "/jwplayer/jwplayer.api.html5.js",
playlist: [{ apitype: "vimeo", file: media_url, provider: provider, image: image_url, tracks: track }],
vimeo: {enableApiData: true},
ga: {},
captions: {back: false, color: 'FFFFFF', fontsize: 15}
};
}
Waiting for you response on the same.
Thanks in advance!
Regards,
Farha