www.voynex.com Your idea - our implementation! Home Contact Us Map

Object Embedding

Contents

  1. Introduction
  2. Why Use Voynex Object Embedding
  3. Features
  4. User's Guide
  5. System requirements
  6. Demo
  7. Download
  8. Support

Introduction

Voynex Object Embedding is a cross-browser library designed to embed objects into HTML documents. Library utilizes JavaScript to create embedding HTML code and access object's programming interface.

With the help of Voynex Object Embedding library it is possible to easily embed audio, video, multimedia players, documents to HTML pages. Cross-browser embedding with just one line of JavaScript code.

Why Use Voynex Object Embedding

When object embedding tags are created by JavaScript this is a dynamic method of object embedding into HTML document. If those tags are written directly in the HTML code, then we have a static way of object hosting.

Dynamic object embedding requires additional JavaScript code to be included to the HTML document, but used in modern web development more and more often. The reason of that is an essential advantage of dynamic approach in comparison to static one. First of all, with the JavaScript is is possible to produce the object embedding HTML code which works on various browsers and on various platforms. This is called a cross-browser code.

At present, means of a static mark-up it is not enough to create a cross-browser HTML code to embed objects. Even most popular browsers such as Internet Explorer, Mozilla Firefox and Google Chrome require different incompatible object embedding HTML code. With the help of the JavaScript it is possible to eliminate the incompatibility and to create cross-browser code which works practically in all browsers, behind old versions with the poor JavaScript support.

Moreover, by means of JavaScript object embedding can be simplified and unified. With the Voynex Object Embedding library it is not necessary to remember and use parameters specific to the object format such as CLASSID or MIME Type. Just call a corresponding function and pass a few parameters to it.

Voynex Object Embedding is not one of its kind library for object embedding. For today there are ready-made products for dynamic object embedding such as Adobe SwfObject and jQuery Media Plugin. These libraries have specific advantages and drawbacks:

  • Adobe SwfObject works in many browsers, but supports embedding of SWF objects only. No other media formats are supported.
  • jQuery Media Plugin supports various types of media plug-ins, but uses JSON notation and does not provide access to plug-in's API.

Advantages and features of Voynex Object Embedding Library are described bellow.

Features

  • Tiny size. Library's size is less then 3 kB and can be decreased to 1 kB. See Developers Guide for more information.
  • High extensibility. New formats can be added without code re-engineering.
  • Cross-browser and cross platform. Library works with the most browsers under various operating systems. See system requirements for more details.
  • Future ready. Object embedding methods implemented in the library are compliant with the draft of the HTML 5 standard
  • Simplicity and genericity. Embed various types of objects using just one line of code. No need to remember object specific parameters such as MIME type or how to set a file-name.

Currently Voynex Object Embedding Library includes the support of the following object types: Microsoft Windows Media Player, Adobe Shockwave Flash, Apple Quicktime, Microsoft Silverlight. Embedding of the other objects can be easily added to the library. See Developers Guide for more details.

User's Guide

Read Voynex Object Embedding User's Guide for detailed instructions on how to use the library to embed objects into HTML documents.

System Requirements

Voynex Object Embedding library requires HTML browser with JavaScript support. JavaScript has to be enabled. The following browsers are supported:

  • Microsoft Internet Explorer 5.0+ for Microsoft Windows
  • Microsoft Internet Explorer 5.0+ for MAC
  • Mozilla FireFox 2.0+
  • Opera 6.0+
  • Netscape Navigator 6.0+
  • Google Chrome 1.0+
  • Safari 3.0+
  • Konqueror 4.0+

"+" means that current and next versions are supported. The library may work with older versions of the browsers listed but it has not been tested with them.

To play a multimedia files on older browsers a corresponding plug-in has to be installed first.

Demo

How to embed Microsoft Windows Media Player to HTML document (embed WMV, WMA, MPG, AVI files): Embedded Windows Media Player

How to embed YouTube Flash Player to HTML document (embed SWF file): Embedded YouTube Flash Player.

How to embed Schockwave Flash to HTML document (embed SWF file): Embedded Shockwave Flash.

How to embed Microsoft Silverlight to HTML document (embed XAP, XAML files): Embedded Silverlight Media Player.

Download

Download Voynex Object Embedding JavaScript version 6.1 (zip archive, < 5KB). Library is available at no cost and delivered as Open Source software. Free for non-commercial use.

Download PAD file of Voynex Object Embedding library.

Support

Paid support is available for this product.

Please contact our support department if you have any questions or suggestions.

Copyright © 2004-2011 by Voynex LLC. All rights reserved | Terms of use | Privacy policy