Statistics: Posted by Jason Caldwell — October 17th, 2011, 7:23 pm
Statistics: Posted by marcusuk — October 13th, 2011, 1:21 pm
Statistics: Posted by marcusuk — October 13th, 2011, 1:15 pm
Statistics: Posted by Jason Caldwell — October 13th, 2011, 1:01 pm
Statistics: Posted by marcusuk — October 12th, 2011, 3:45 pm
if (($mp4 = s2member_file_download_url($cfg, "get-streamer-array"))) { ?>
http://blog.linearsky.com/?s2member_file_inline=yes&type=video&s2member_file_download=%2Fyu5.mp4&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDovL2Jsb2cubGluZWFyc2t5LmNvbS8%7EczJtZW1iZXJfZmlsZV9pbmxpbmU9eWVzJnR5cGU9dmlkZW8mczJtZW1iZXJfZmlsZV9kb3dubG9hZD0veXU1Lm1wNCIsIkNvbmRpdGlvbiI6eyJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiNzguODYuOTQuMTAzLzMyIn0sIkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxMzE4NTM1NDc3fX19XX0_&Signature&Key-Pair-Id=APKAJNVJDTI264JRVAQQ
Statistics: Posted by marcusuk — October 12th, 2011, 2:55 pm
$cfg = array ("file_download" => "http://blog.linearsky.com/?s2member_file_inline=yes&type=video&s2member_file_download=/yu5.mp4", "rtmp://s3is2o9s32f4pz.cloudfront.net:443/cfx/st" => 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"))) { ?>
<?php echo print_r($mp4); ?>
<script type="text/javascript">
jwplayer("jw-container").setup({modes: /* JW Player®. */
[
/* First try real-time streaming with Flash® player. */
{type: "flash", provider: "rtmp", src: "/jwplayer/player.swf?type=video",
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: 480
});
</script>
Statistics: Posted by marcusuk — October 12th, 2011, 12:55 pm
rtmp://s3is2o9s32f4pz.cloudfront.net/cfx/st", file: "yu5.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoieXU1Lm1wNCIsIkNvbmRpdGlvbiI6eyJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiNzguODYuOTQuMTAzLzMyIn0sIkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxMzE4NTE3NzY5fX19XX0_&Signature&Key-Pair-Id=APKAJNVJDTI264JRVAQQ
Statistics: Posted by marcusuk — October 12th, 2011, 10:00 am
Statistics: Posted by marcusuk — October 12th, 2011, 5:35 am
Statistics: Posted by Sim2K — October 12th, 2011, 5:16 am
Statistics: Posted by marcusuk — October 12th, 2011, 4:39 am