Hi there.
I just installed avplayer - it's a great module.
Some questions i hope somebody can answer:
1. How to get a star-picture in the screen?
2. How to get a list of diferent flv files / videos?
3. How to make the palyer adding otpion for fullscreen, audio level ...?
Thanks
map_1961
>>>>>>>>>>>>>>>
Hi there again
this is the sollution:
1. Download players from
http://flv-player.net (for example: maxi version - see download). Download the player_flv_maxi.swf and place it by ftp in your modules/avplayer directory.
Now go to AVPlayer in the backend.
Add the Player
2. Give it a name (this will be necessary again when we place the tag into the page - see below)
3. Give the url to the location:
http://www.yourdomain.org/modules/avpla ... v_maxi.swf
4. Give it a width and a heigt
5. Give it Parameters like this:
&showiconplay=1&iconplaycolor=eae5d4&iconplaybgcolor=dddddd&iconplaybgalpha=50&showstop=1&showvolume=1&showtime=1&showfullscreen=1
save it
6. Go to templates
adjust all to "final_default"
Set final_default like this:
{$breadcrumbs}{$item->name}
parent_object->location}" width="{$item->parent_object->width}"
height="{$item->parent_object->height}">
parent_object->location}" />
mediafile}&startimage=
http://www.yourdomain.org/cms/uploads{$ ... ameters}"/>
save it
---
7. Go to Mediafiles
8. Add a mediafile by giving it a name, choosing the player (if you use more tha the one mentioned above) select the mediafile - flv for example in /uploads/flv/yourmovie.
9. Selcet or a picture (it should be of the same size and ratio as the player is adjustet to- it will be your start picture!!)
Save it.
10. Now go to a page an place this code: {cms_module module="avplayer" what="mediafile" alias="moviename"}
The name is the one you have given at 1.
Additional important hint:
The param filed is only 255 characters long - to short for sophisticated params. To change this go ahead like this:
11. Go to your database (4 people that know what they do only!!). open table "cms_module_avplayer_player" - click on Sturcture - click on field parameters (4th position) - edit this field and change length/set from 255 to 500 - save this and close database.
12. Now edit file action.editA.php in your avplayer folder. Go to line 130 and find:
$this->smarty->assign("parameters_input", $this->CreateInputText($id,"Aparameters",isset($item)?$item->parameters:"",50,255));
change this to
$this->smarty->assign("parameters_input", $this->CreateInputText($id,"Aparameters",isset($item)?$item->parameters:"",50,500));
Save this and send it to your online folder. Now avplayer parameter options accepts 500 characters like this:
&bgcolor=fff0ca&bgcolor1=fff0ca&bgcolor2=fff0ca&playeralpha=100&buttoncolor=3e3b30&buttonovercolor=a6a08b&slidercolor1=666357&slidercolor2=3e3b30&sliderovercolor=a6a08b&playercolor=fff0ca&showiconplay=1&iconplaycolor=eae5d4&iconplaybgcolor=dddddd&iconplaybgalpha=50&loadingcolor=938e7c&showstop=1&showvolume=1&showtime=1&showfullscreen=1&autoload=1
Ready to go.
Have fun
map_1961