latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: James Martell

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
JW Player RTMP streaming MP4, Amazon® S3 1 2

By:  James Martell in: Community Forum

voices: 8
replies: 47

4 years, 1 month ago  Bruno

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
JW Player RTMP streaming MP4, Amazon® S3 1 2

By:  James Martell in: Community Forum

voices: 8
replies: 47

4 years, 1 month ago  Bruno

Viewing 2 topics - 1 through 2 (of 2 total)

My Latest Replies (From Various Topics)

Viewing 6 replies - 1 through 6 (of 6 total)
Author Replies
Author Replies
Posted: Monday Jan 7th, 2013 at 3:14 am #36421

Alright,
They might be suggested to write code this way

<script type="text/javascript">
  jwplayer('mediaplayer').setup({
    'flashplayer': 'player.swf',
    'id': 'playerID',
    'width': '480',
    'height': '270',
    'file': 'video.flv',
    'image': 'image.jpg',
    'plugins': {
       'viral-2': {
           'onpause': 'false',
           'callout': 'none'
       }
    }
  });
</script>

I tried to write this but not works,
Might be my syntax is wrong to write
plugins:”viral-2″: {onpause: “false”}

<script type="text/javascript">
       jwplayer("jw-container").setup({modes: /* JW Player®. */
       [
           /* First try real-time streaming with Flash® player. */
           {type: "flash", provider: "rtmp", src: "<?php echo $s2_jw_config["jwplayer"]; ?>player.swf", 
               config: {streamer: "<?php echo $mp4["streamer"]; ?>", file: "<?php echo $mp4["file"]; ?>", image: "/wp-content/uploads/2012/11/website-in-a-weekend-session-01.jpg"}, plugins:"viral-2": {onpause: "false"}}, 

       
           /* Else, try an HTML5 video tag. */
           {type: "html5", provider: "video",
               config: {file: "<?php echo $mp4["url"]; ?>"}},
       
           /* Else, this is a safe fallback. */
           {type: "download", /* Download the file. */
               config: {file: "<?php echo $mp4["url"]; ?>"}}
       ],
       /* Set video dimensions. */ width: 758, height: 573
       });
   </script>

Please Help…!!

Thanks A Lot

Posted: Thursday Nov 15th, 2012 at 6:02 am #31668

Finally Problem is solved, and videos is showing up..
Thanks Every one for the support…

The Problem is with Raw HTML and Exec PHP
Have to configure properly…and s2member Download options too..

Well i need to know 1 more thing..
How to show the Image of video on screen i have given
$s2_jw_config[“jwplayer”] = “/jwplayer/”; // Relative URL path to JW Player files directory.
$s2_jw_config[“mp4_video_file_name”] = “video.mp4″; // Name of your MP4 test file.
image=”http://www.theschoolofinternetmarketing.com/wp-content/uploads/2012/11/website-in-a-weekend-session-01.jpg&#8221;

But nothing displays…

Posted: Friday Nov 9th, 2012 at 8:29 am #31125

I think I am Near to Solve the Issue,
See Only Player Code Works Fine Now

<script type='text/javascript' src='http://www.theschoolofinternetmarketing.com/jwplayer/jwplayer.js'></script> <div id='mediaspace'>This text will be replaced</div> <script type='text/javascript'> jwplayer('mediaspace').setup({ 'flashplayer': 'http://www.theschoolofinternetmarketing.com/jwplayer/player.swf', 'file': 'http://www.theschoolofinternetmarketing.com/jwplayer/video.mp4', 'controlbar': 'bottom', 'width': '470', 'height': '320' }); </script>

But using showing file not found in jwplayer, Am i Wrong Anywhere
I Dont know what it gives output

<script type="text/javascript"> jwplayer("jw-container").setup({modes: /* JW Player®. */ [ /* First try real-time streaming with Flash® player. */ {type: "flash", provider: "rtmp", src: "http://www.theschoolofinternetmarketing.com/jwplayer/player.swf", config: {streamer: "http://www.theschoolofinternetmarketing.com/jwplayer/player.swf", file: "http://www.theschoolofinternetmarketing.com/jwplayer/video.mp4"}}, /* Else, try an HTML5 video tag. */ {type: "html5", provider: "video", config: {file: "http://www.theschoolofinternetmarketing.com/jwplayer/video.mp4"}}, /* Else, this is a safe fallback. */ {type: "download", /* Download the file. */ config: {file: "http://www.theschoolofinternetmarketing.com/jwplayer/video.mp4"}} ], /* Set video dimensions. */ width: 480, height: 270 }); </script>
Posted: Friday Nov 9th, 2012 at 7:49 am #31122

I have gone through with all the details.

Still Showing me Error
JW Player® appears here.
Sorry, you do NOT have access to this file.

I have Simply Used this Code:

<?php
// Configuration.
$s2_jw_config["jwplayer"] = "/jwplayer/"; // Relative URL path to JW Player files directory.
$s2_jw_config["mp4_video_file_name"] = "video.mp4"; // Name of your MP4 test file.
// Don't edit anything else below unless you know what you're doing.
?>

<div id="jw-container">JW Player® appears here.</div>

<script type="text/javascript" src="<?php echo $s2_jw_config["jwplayer"]; ?>jwplayer.js"></script> <?php /* A direct URL to the RTMP source; counting the file against the current User in real-time. */ $cfg = array ("file_download" => $s2_jw_config["mp4_video_file_name"], "url_to_storage_source" => true, "count_against_user" => true); ?> <?php /* API Function `s2member_file_download_url()` returns false if access is denied to the current User. */ if (($mp4 = s2member_file_download_url ($cfg, "get-streamer-array"))) { ?> <script type="text/javascript"> jwplayer("jw-container").setup({modes: /* JW Player®. */ [ /* First try real-time streaming with Flash® player. */ {type: "flash", provider: "rtmp", src: "<?php echo $s2_jw_config["jwplayer"]; ?>player.swf", config: {streamer: "<?php echo $mp4["streamer"]; ?>", file: "<?php echo $mp4["file"]; ?>"}}, /* Else, try an HTML5 video tag. */ {type: "html5", provider: "video", config: {file: "<?php echo $mp4["url"]; ?>"}}, /* Else, this is a safe fallback. */ {type: "download", /* Download the file. */ config: {file: "<?php echo $mp4["url"]; ?>"}} ], /* Set video dimensions. */ width: 480, height: 270 }); </script> <?php } else /* Access is denied to the current User. */ { ?> Sorry, you do NOT have access to this file. <?php } ?>

I think script is not getting value of

Please HELP

All works fine using flowplayer,
There is something wrong in JWPLayer

Posted: Wednesday Nov 7th, 2012 at 7:54 am #30871

@Bruno..

I am an Developer of Sir James,

Have you integrated with S3 Cloud..?
What error you are getting while streaming video…?

Posted: Wednesday Nov 7th, 2012 at 7:51 am #30870

TO: s2members Support Team

Please Reply Us, we are waiting to hear from you,

I want to Integrate this JW Player into my Page….
Why it Directly goes to Else Statement “Sorry, you do NOT have access to this file.”
Required your HELP….!!!

JW Player® appears here.
<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
});

Sorry, you do NOT have access to this file.

Viewing 6 replies - 1 through 6 (of 6 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.