play multiple videos with webplayer

3 replies [Last post]
taftse
taftse's picture
User offline. Last seen 1 year 43 weeks ago. Offline
Joined: 03/02/2008
Posts: 4

i want to play multiple videos one after the other using the web player but can not seem to find a way of doing it i googled my problem but found no solutions
i am at the moment looking at jusing a combination of the javascripts but im an javascript noob so i am not sure what im doing

any way if somone else has tryed this and got it to work please tell me how

any help ?

Gnusavui
Gnusavui's picture
User offline. Last seen 3 years 10 weeks ago. Offline
Joined: 04/16/2008
Posts: 5
Groups: None
I am using several modules:

I am using several modules: DWP, Viking Coders Template modules and a
couple of others any known issues?
~~~~~~~~~
download movies

kristafromvista
kristafromvista's picture
User offline. Last seen 1 week 8 hours ago. Offline
multiple video files

It is possible to do this. If you have downloaded the DWP Webmaster SDK, in the samples folder there is a start_here.html file. If you open that, under scripted samples there is a topic on Multiple video files. It has all the details, but basically you just need to use the basic scripting plus an Open() method...

function openNewMovie()
{
var url = document.forms['videoSelector'].movie.value;
if(url != '')
{
plugin.Open(url);
}

you can take out the parameters to start the video automatically, then add a function to open a video on-demand and call it through an onChange callback.

You can use a drop-down menu to select the video (this is also explained on the same multiple video files page) or you can create a list of links to select from.

I recommend downloading the SDK file and reading through the section i mentioned.

taftse
taftse's picture
User offline. Last seen 1 year 43 weeks ago. Offline
Joined: 03/02/2008
Posts: 4
can any one help me ??

can any one help me ??

Comment viewing options

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