How do you play VoD flv file with a security token in JW Player?
I have a flash VoD file I want to play on an NGINX RTMP media server
Video plays fine in VLC
I tried playing it in JW Player with the two alternatives below. None work, what am I doing wrong?
jwplayer("player").setup({
primary: 'flash',
type: 'rtmp',
streamer: "rtmp://usmedia3.test.tv/vod/?t=4B6DFA1DD3114A0B8BEEA01DC433C1A9",
file: "flv:v_google-1421929816.flv",
image: "{{ MEDIA_URL }}{{ video.thumbnail }}",
width: "100%",
aspectratio: "16:9",
});
jwplayer("myElement").setup({
file: "rtmp://usmedia3.test.tv/vod/flv:v_google-1421929816.flv",
height: 360,
//image: "/assets/myVideo.jpg",
rtmp: {
securetoken: "4B6DFA1DD3114A0B8BEEA01DC433C1A9"
},
width: 640
});