Multiple Video Files - Use an prewiew image and disable the divx banner

1 reply [Last post]
heinzelman24
heinzelman24's picture
User offline. Last seen 3 years 47 weeks ago. Offline
Joined: 03/06/2008
Posts: 3
Groups: None

Hello to all visitors of this thread,
my english is terrible i hope you can understand it ;)

In the Webmaster SDK i found the code for multiple video files and i want to use it.

var plugin;

if(navigator.userAgent.indexOf('MSIE') != -1 ||
navigator.userAgent.indexOf('Safari') != -1)
{
plugin = document.getElementById('ie_plugin');
}
else
{
plugin = document.getElementById('np_plugin');
}

function openNewMovie()
{
var url = document.forms['videoSelector'].movie.value;

if(url != '')
{
plugin.Open(url);
}
}




Video:

Vid1
Vid2
Vid3
Vid4

[/code]
Thats my Code.
I want to use an prewiew image and i want to disable the divx banner and read the following:
[code]The bannerEnabled parameter:
The bannerEnabled parameter is used to specify whether the plugin should display the
DivX advertisement banner at the end of playback.

Usage:

In the object tag:

In the embed tag: bannerEnabled="[value]"

Possible values:

"true" or "false", true being the default.
..::..
The previewImage parameter:
The previewImage parameter is used to specify the location of an image ?le in PNG,
JPEG or GIF format to use as a preview image. The preview image is displayed in place
of the DivX ìXî logo when autoPlay is set to false. This allows to setup a piece of video
so that it does not auto start but shows a preview image of what the video is about.
Users can then start the download and playback of the video by clicking anywhere on
the preview image. See the previewMessage and previewMessageSize parameters for
more options.
Note that you need to set the autoPlay parameter to false for this parameter to be
taken into account.

Usage:

In the object tag:

In the embed tag: previewImage="[value]"

Possible values:

A relative path, such as "myPreviewImage.gif" or "../../images/
myImage.jpg".

An absolute path, i.e. "http://mywebsite.com/myImage.png".

But i dont know where i have to put in the codes or if its impossible or if i have to use the javascript interaction..

Pls help me, i need some^^

MfG Heinzelmann24

heinzelman24
heinzelman24's picture
User offline. Last seen 3 years 47 weeks ago. Offline
Joined: 03/06/2008
Posts: 3
Groups: None
omg

looks like the board dont show al right^^
i hope you can see what i mean...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.