I am struggling with playing video with jwplayer I works fine when I put the file source in file attribute as below in the code but how can I use it to read video path from database and play it
this the code
jwplayer("video1").setup({
skin:"jwplayer/five.xml",
flashplayer: "jwplayer/player.swf",
file: "video/video1.mp4",
// primary: "flash"
});
window.jwplayer = jwplayer;
Also I tried this but could not work
2- my second problem is when I play video and when I skip playing ahead it stops and get stuck
please help
Thanks very much in advance
↧