Web Video Machine

  Manual Revision 1.0.0

  © 2008 Blue Pacific Software
  All rights reserved.


» Go to Index »

Extending Web Video Machine

Web Video Machine can be extended by performing any external task related to your application. You may want to perform any task when something happens, for instance, you may want to send an email when a file finishes encoding. You can perform these tasks and any other in the "Notify" tab:

Basically this section lets you run any application after any of these events happen:

  • Encoding with success - the worker encoded a media file with success.
  • Encoding Failed - the worker could not successfully encode the media file.

The application can be any application, but the most useful ones are applications that you write to do anything useful, like sending an email or calling a URL, or doing both things simultaneously.

When it calls the external application, the Machine will always automatically add these two parameters:

  1. The full path to the encoded file or the full path to the failed file if there was an encoding error.
  2. A text message describing what happened or describing the error if there was one.

Included with the installation there are some useful applications that you may find useful. They are located inside:

C:\Program Files\Web Video Machine\scripts\

The scripts located here are Visual Basic scripts whose tasks are:

Script
Description
send_email_remote_server.vbs Sends an email message using a remote SMTP server with authentication.
send_email_local_server.vbs Send an email message using a local SMTP server.
invoque_URL.vbs Invokes an URL. Useful to integrate with your web application where you want to insert the encoding result in your DB by calling a URL or webservice.
copy_file.vbs Copy a file to another folder.

 


» Go to Index »