I'm interested in implementing something similar to multidownload, but for playing. Where you could specify multiple versions of a video (either different formats or same format different bitrates) Then the user can play which ever one he wants.

Could you point me in the right direction on how to best implement this?

Thanks
Eric

Comments

fax8’s picture

yes... it could be a useful feature to have...

I suggest you to start hacking from video_multidownload.module .

The first thing to do is extending the db schema.
You should do this with a table link this:

video_multiplay(nid, vid, mpid, vidfile, videox, videoy, size)

where (nid, vid, mpid) is a key for the table

you will have multiple video entries for each (nid, vid)

You should then extend the generated form using _form_alter()
(see plugins for reference)

Then you sould add a menu entry called "play different version" with
an associated function.
In the generated page you should prompt which version the user want
and then serve it to the user.

Ok.. these are some ideas... I will help you if you want to go on.

Fabio

fax8’s picture

@agilpwc

did you do some progress for this?

Fabio

deema2’s picture

any progress in this issue?
it's really helpful

fax8’s picture

Status: Active » Postponed

this is absolutely a really cool feature to have... unfortunately I'm not going to code this soon.

Anyone who want to do it please reopen this.

Fabio

iLLin’s picture

Status: Postponed » Closed (fixed)