Hi all, was wondering if anyone has experienced an error with JW player that reads: “Error loading player:
No playable sources found” even though the JW player black screen shows up.
I uploaded my video files to an Amazon S3 bucket and integrated s2member with S3 and Cloudfront successfully. I installed JW player in the root of my site. I ran a test page to see if I could play a video called “test.mp4” that resides in my S3 bucket. I used the following code that s2member provides for this:
<div id="jw-container">JW Player® appears here.</div>
<script type="text/javascript" src="jwplayer.js">
$s2_jw_config["mp4_video_file_name"], "url_to_storage_source" => true, "count_against_user" => true); ?>
jwplayer("jw-container").setup({modes: /* JW Player®. */
[
/* First try real-time streaming with Flash® player. */
{type: "flash", provider: "rtmp", src: "player.swf",
config: {streamer: "", file: ""}},
/* Else, try an HTML5 video tag. */
{type: "html5", provider: "video",
config: {file: ""}},
/* Else, this is a safe fallback. */
{type: "download", /* Download the file. */
config: {file: ""}}
],
/* Set video dimensions. */ width: 480, height: 270
});
I downloaded the Raw HTML plugin and marked all the checked boxes as was told in the tutorial video. I also downloaded the Exec-PHP plugin as was required.
Under s2member->download options->basic download restrictions, under File Downloads ( Level #0 Or Higher ): I have it set for 999999999 every 1 day(s), just temporarily.
When I try to view this test page that should stream my video, the JW player shows up as a black screen and inside contains the error message: Error loading player:
No playable sources found
Any suggestions on how to fix this? Thank you very much, I really appreciate it.
Robert