overview • html5 • wizard • streaming • advertising • skins • integration • flashvars • javascript • Premium Plugins
NUEVOPLAYER PLUGINS - SCREEN CAPTURE PLUGIN
Back to Nuevoplayer plugins




Click to Capture Screen

This is Screen Capture plugin for Nuevoplayer.
It allows to capture video screen and save it as JPG file with simple click on javascript link.

Due to security reason this plugin may not work if video is streamed from RTMP server or some CDN Networks.


To make use of this plugin you must:

  • upload "screenshot.swf" file to your Nuevoplayer "plugins" directory
  • add name 'screenshot' to <plugins> flashvar
  • define new flashvar 'screenshot.script' and assign small PHP file URL located on your server.
  • create small javascript function and place it on your website.


PHP file is very small

<?php if (isset($GLOBALS["HTTP_RAW_POST_DATA"])) { $jpg = $GLOBALS["HTTP_RAW_POST_DATA"]; header('Content-Type: image/jpeg'); header("Content-Disposition: attachment; filename=".$_GET['name'].".jpg"); echo $jpg; } ?>

Javascript function to insert on website is even smaller

<script type="text/javascript"> function screenshot() { var player = document.getElementById('nuevoplayer'); player.getScreenshot(); } </script>


The link to capture function can be stadard text link or image link, eg.

<a href="javascript:screenshot();">Capture Screen</a> <a href="javascript:screenshot();"><img src="buttonimage.jpg" border="0" /></a>



Available to download plugin's zip archive contains usage descriptions for supported scripts integrations.

Download plugin


Back to Nuevoplayer plugins