Hi I am working with JWPLAYER 6.12 version.
i am able to load the CC toggle button but when i click on that not able to load the WEBVTT file.
so please aqnyone have idea kindly suggest me.
Here is my code:
var objPlayer = {
playlist: [{
image: strImagePath,
sources: [{
file: AppConfig.VIDEO_HTTP_STREAMING_SERVER_PATH + "/mp4:" + curl + "/playlist.m3u8"
},{
file: AppConfig.AUDIO_VIDEO_RTMP_STREAMING_SERVER_PATH + "/" + curl
}],
"rtmp.bufferlength": AppConfig.MEDIA_BUFFER_TIME,
rtmp: {
subscribe: true
},
skin: "five",
// primary: "flash",
width: 391,
height: 293,
tracks: [{
file: AppConfig.BASE_HREF + "playertest/cl_player/MUNA.vtt",
label: "English",
kind: "captions",
"default": true
}]
}]
};
jwplayer("videoPlayer")
.setup(objPlayer);
}
THis is the some code which i used earlier
AUDIO_VIDEO_RTMP_STREAMING_SERVER_PATH = "rtmp://wowza.cengage.com:443/nelson-videos";
VIDEO_HTTP_STREAMING_SERVER_PATH = "http://wowza.cengage.com:443/nelson-videos/vod";
I think may be i give wrong path or i have to retrieve this caption from wowza server because video files are coming through RTMP.
↧