Hi there,
I have turned on my Secure URL and Secure Player Embedded. When I only turn on Secure Video URLs and use the PHP code. My video plays correctly on my site, but when I turn on the secure Player Embedded, I receive the "Error Loading Media: File could not be played".
I use the code below. (In the code below resultdata comes from the PHP file. I follow the same PHP which is suggested on JW site.)
jwplayer(jwid).setup({
"file": resultdata ,
"image": "http://content.jwplatform.com/thumbs/C7gLPrtX-1920.jpg",
"mediaid": "C7gLPrtX",
});
jwplayer(jwid).onTime(
function(event) {
if (event.position >= 500)
{
document.getElementById("page-section-12").style.display = "block";
}
}
);
I also test on JW7 and then upgrade to JW8. I have the problem on both versions (except that I can see the image in JW8 with the error message on it.
The file is mp4 and the video URL perfectly works alone and when I only turn on the Secure Video URLs.
Could you please advise me how I can solve this problem?
Thanks
↧