
How to a play video with video id
Hi,
I have uploaded my video into jwplayer. Now, I am trying to play a video in my website using jwplayer API.In jwplayer setup function i am passing file parameter
with video file extension .mp4 as below
player = jwplayer('myElement');
player.setup({
file: "http://content.jwplatform.com/videos/CDQhRiNs-cgMItahJ.mp4",
image: "Campaign/Campaign_41094_Large_.png",
autostart: false,
skin:{
name:"vapor",
},
});
Here, I don't want to mention the extension extensions such as mp4 or mp3. is it possible use video id in place of
file path as show below
file: "http://content.jwplatform.com/videos/CDQhRiNs-cgMItahj