osCommerce France : Accueil Forum Portail osCommerce France Réponses aux questions Foire aux contributions

Bienvenue invité ( Connexion | Inscription )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> osPlayer v2, mp3 player pour osCommerce
manmachine
posté 21 Nov 2004, 19:37
Message #1


Ceinture marron OSC
Icône de groupe

Groupe : Modérateurs
Messages : 1814
Inscrit : 2-July 04
Lieu : Nantes
Membre no 2788



Ca y est la version 2 de mon player mp3 est dispo !!

:: osPLayer Features :::::::::::::::::::::::

The player itself

* RealTime audio streaming
* Unlimited playlist driven by php script
* Song position slider
* Play , stop , pause buttons
* Volume control
* Time display
* Song title display
* Loop mode ON/OFF
* Professional design


Dedicated osCommerce Features

* Options control throught the osc backoffice
1. autoplay ON/OFF
2. popup window mode or integrated on your product page
* MP3 files manager throught the osc backoffice
* Add the possibility to display a "play" button on your product list .
* Really easy to install !

telechargable ici : http://osplayer.counteractdesign.com

cool.gif


--------------------
Nous ne sommes pas un SAV, nous aidons, mais nous ne faisons pas à votre place ..
Go to the top of the page
 
Ryu007
posté 21 Nov 2004, 19:41
Message #2


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1385
Inscrit : 3-June 04
Lieu : Saint-mandé
Membre no 2597



PFOUUU !!! c'est terrible de faire du boulot comme ça !!!
Tu as dut faire pas mal de nuit blanche tongue.gif !

Un seul mot à dire : BRAVO et bonne continuation pour la suite ...

Amicalement


--------------------
Image IPB Image IPB
Go to the top of the page
 
xaglo
posté 21 Nov 2004, 23:14
Message #3


5eme dan OSC
Icône de groupe

Groupe : Administrateur
Messages : 14910
Inscrit : 22-November 02
Membre no 610



Bravo et merci pour ton boulot que tu mets à disposition... juste une petite remarque, pourquoi ne le mets-tu pas à dispo sur oscomm.com??


--------------------
Ni Hot-line ni Service Après Vente, ces forums sont un lieu d'échanges.
Une Question? Rechercher / FAQ / docV1.pdf / docV2.pdf / contributions
Go to the top of the page
 
manmachine
posté 21 Nov 2004, 23:23
Message #4


Ceinture marron OSC
Icône de groupe

Groupe : Modérateurs
Messages : 1814
Inscrit : 2-July 04
Lieu : Nantes
Membre no 2788



le package de la contrib est trop lourd cool.gif , j'ai donc poster un zip sur oscomm avec un screenshot et l'adresse ou le trouver ....


--------------------
Nous ne sommes pas un SAV, nous aidons, mais nous ne faisons pas à votre place ..
Go to the top of the page
 
Element
posté 25 Nov 2004, 15:22
Message #5


Ceinture bleue OSC
Icône de groupe

Groupe : Membres
Messages : 852
Inscrit : 25-October 04
Lieu : Bruxelles
Membre no 3576



Super travail,
g pas encore eu le temps de l'essayer chez moi réellement, mais j'ai matter la demo sur ton site, Vraiment du tres bon travail smile.gif

Bonne continuations !


--------------------
QUOTE (manmachine)
Le monde du libre est fragile et il faut en prendre soin c'est tout !

user posted image
Go to the top of the page
 
sunlink
posté 4 Dec 2004, 21:01
Message #6


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 83
Inscrit : 1-October 04
Membre no 3384



Salut Amis d'OS Commerce, j'ai installé la contribution Osplayer V2, merci manMachine pour tout ton travail car c'est vraiment excellent.
Petit problème, lorsque l'on veut ajouter un répertoire MP3 à un produit, c'est impossible, on peut par contre ajouter ce repertoire aux catégories de produits (le logo MP3Manager n'apparait d'ailleurs pas pour les produits).
Tes explications dans le manuel sont très claires, me suis-je peut-etre trompé????
J'ai refait l'install plusieurs fois.
Peut-etre quelqu'un d'autre a t-il installé cette contrib avec plus de succès.
Merci.


--------------------
MS2FR sur Windows XP
Go to the top of the page
 
Element
posté 4 Dec 2004, 21:06
Message #7


Ceinture bleue OSC
Icône de groupe

Groupe : Membres
Messages : 852
Inscrit : 25-October 04
Lieu : Bruxelles
Membre no 3576



j'ai tjr pas tester !
cependant, ce n'est pas simplement une histoire de CHMOD sur le répertoire en question ?


--------------------
QUOTE (manmachine)
Le monde du libre est fragile et il faut en prendre soin c'est tout !

user posted image
Go to the top of the page
 
sunlink
posté 4 Dec 2004, 21:11
Message #8


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 83
Inscrit : 1-October 04
Membre no 3384



Non, rien à voir je n'ai même pas le bouton MP3 Manager dans la rubrique des produits, il apparait à contrario un cran au dessus, au niveau des catégories de produits?????????????!!!!!!!!!!!!!
D'où expectative.


--------------------
MS2FR sur Windows XP
Go to the top of the page
 
sunlink
posté 5 Dec 2004, 09:05
Message #9


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 83
Inscrit : 1-October 04
Membre no 3384



Toujours pas trouvé l'origine de mon probleme, ManMachine à l'aide!!!!!!!!!!!!!!!!!!!


--------------------
MS2FR sur Windows XP
Go to the top of the page
 
manmachine
posté 5 Dec 2004, 10:55
Message #10


Ceinture marron OSC
Icône de groupe

Groupe : Modérateurs
Messages : 1814
Inscrit : 2-July 04
Lieu : Nantes
Membre no 2788



Le problem semble evident . Tu n'as pas copier / remplacer la bonne partie du code .

Dans les tableaux , on a dans l'ordre le cas ou on navigue dans les categories et dans l'autre celui ou on navigue dans les produits . Tu as du remplacer la partie qui correspond au categories a lieu de celle des produits .

C'est sur que la confusion est vite faite etant donné qu'il ont la meme structure :

je te copie toute la portion du code tel qu'elle doit etre ( dans admin/categories.php):

CODE

     default:
       if ($rows > 0) {
         if (isset($cInfo) && is_object($cInfo)) { // category info box contents
           $heading[] = array('text' => '<b>' . $cInfo->categories_name . '</b>');

           $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=edit_category') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=delete_category') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=move_category') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a>');
           $contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . tep_date_short($cInfo->date_added));
           if (tep_not_null($cInfo->last_modified)) $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . tep_date_short($cInfo->last_modified));
           $contents[] = array('text' => '<br>' . tep_info_image($cInfo->categories_image, $cInfo->categories_name, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '<br>' . $cInfo->categories_image);
           $contents[] = array('text' => '<br>' . TEXT_SUBCATEGORIES . ' ' . $cInfo->childs_count . '<br>' . TEXT_PRODUCTS . ' ' . $cInfo->products_count);
         } elseif (isset($pInfo) && is_object($pInfo)) { // product info box contents
           $heading[] = array('text' => '<b>' . tep_get_products_name($pInfo->products_id, $languages_id) . '</b>');
///////
//// osplayer V2 start //
           $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=new_product') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=delete_product') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=move_product') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=copy_to') . '">' . tep_image_button('button_copy_to.gif', IMAGE_COPY_TO) . '</a>&nbsp;<a href="' . tep_href_link("mp3manager.php", 'product_id=' . $pInfo->products_id) . '">' . tep_image_button('mp3manager.gif', "mp3 manager") . '</a>');
//// osplayer V2 end //
///////
           $contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . tep_date_short($pInfo->products_date_added));
           if (tep_not_null($pInfo->products_last_modified)) $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . tep_date_short($pInfo->products_last_modified));
           if (date('Y-m-d') < $pInfo->products_date_available) $contents[] = array('text' => TEXT_DATE_AVAILABLE . ' ' . tep_date_short($pInfo->products_date_available));
           $contents[] = array('text' => '<br>' . tep_info_image($pInfo->products_image, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br>' . $pInfo->products_image);
           $contents[] = array('text' => '<br>' . TEXT_PRODUCTS_PRICE_INFO . ' ' . $currencies->format($pInfo->products_price) . '<br>' . TEXT_PRODUCTS_QUANTITY_INFO . ' ' . $pInfo->products_quantity);
           $contents[] = array('text' => '<br>' . TEXT_PRODUCTS_AVERAGE_RATING . ' ' . number_format($pInfo->average_rating, 2) . '%');
         }


alors que toi tu as du faire ca :

CODE

default:
       if ($rows > 0) {
         if (isset($cInfo) && is_object($cInfo)) { // category info box contents
           $heading[] = array('text' => '<b>' . $cInfo->categories_name . '</b>');

           ///////
//// osplayer V2 start //
           $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=new_product') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=delete_product') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=move_product') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=copy_to') . '">' . tep_image_button('button_copy_to.gif', IMAGE_COPY_TO) . '</a>&nbsp;<a href="' . tep_href_link("mp3manager.php", 'product_id=' . $pInfo->products_id) . '">' . tep_image_button('mp3manager.gif', "mp3 manager") . '</a>');
//// osplayer V2 end //
///////
           $contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . tep_date_short($cInfo->date_added));
           if (tep_not_null($cInfo->last_modified)) $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . tep_date_short($cInfo->last_modified));
           $contents[] = array('text' => '<br>' . tep_info_image($cInfo->categories_image, $cInfo->categories_name, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '<br>' . $cInfo->categories_image);
           $contents[] = array('text' => '<br>' . TEXT_SUBCATEGORIES . ' ' . $cInfo->childs_count . '<br>' . TEXT_PRODUCTS . ' ' . $cInfo->products_count);
         } elseif (isset($pInfo) && is_object($pInfo)) { // product info box contents
           $heading[] = array('text' => '<b>' . tep_get_products_name($pInfo->products_id, $languages_id) . '</b>');

           $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=new_product') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=delete_product') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=move_product') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=copy_to') . '">' . tep_image_button('button_copy_to.gif', IMAGE_COPY_TO) . '</a>');
           $contents[] = array('text' => '<br>' . TEXT_DATE_ADDED . ' ' . tep_date_short($pInfo->products_date_added));
           if (tep_not_null($pInfo->products_last_modified)) $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . tep_date_short($pInfo->products_last_modified));
           if (date('Y-m-d') < $pInfo->products_date_available) $contents[] = array('text' => TEXT_DATE_AVAILABLE . ' ' . tep_date_short($pInfo->products_date_available));
           $contents[] = array('text' => '<br>' . tep_info_image($pInfo->products_image, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br>' . $pInfo->products_image);
           $contents[] = array('text' => '<br>' . TEXT_PRODUCTS_PRICE_INFO . ' ' . $currencies->format($pInfo->products_price) . '<br>' . TEXT_PRODUCTS_QUANTITY_INFO . ' ' . $pInfo->products_quantity);
           $contents[] = array('text' => '<br>' . TEXT_PRODUCTS_AVERAGE_RATING . ' ' . number_format($pInfo->average_rating, 2) . '%');
         }


du coup ton bouton apparait dans les categorie et ne sert a rien ..

copie le bon bloc et tout va rentrer dans l'ordre .

wink.gif


--------------------
Nous ne sommes pas un SAV, nous aidons, mais nous ne faisons pas à votre place ..
Go to the top of the page
 
sunlink
posté 5 Dec 2004, 11:47
Message #11


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 83
Inscrit : 1-October 04
Membre no 3384



Salut manmachine, merci pour ton aide, j'ai effectivement trouvé l'erreur à l'endroit où tu l'indiquais, mais pour que tout soit nickel, il faut faire une modification au niveau du manuel de la contribution ici:

Line 973 find:

$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=edit_category') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=delete_category') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=move_category') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a>');


Replace with:

//// osplayer V2 start //
$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=new_product') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=delete_product') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=move_product') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=copy_to') . '">' . tep_image_button('button_copy_to.gif', IMAGE_COPY_TO) . '</a>&nbsp;<a href="' . tep_href_link("mp3manager.php", 'product_id=' . $pInfo->products_id) . '">' . tep_image_button('mp3manager.gif', "mp3 manager") . '</a>');
//// osplayer V2 end //

En faisant cette ma,ip, on supprime les boutons Editer, Effacer Déplacer de la rubrique des catégories. Donc il faut laisser le script se trouvant à la ligne 973 et rajouter //// osplayer V2 start // .....//// osplayer V2 end // après

$heading[] = array('text' => '<b>' . tep_get_products_name($pInfo->products_id, $languages_id) . '</b>');

Sinon maintenant ça marche.
Merci beaucoup.


--------------------
MS2FR sur Windows XP
Go to the top of the page
 
sunlink
posté 5 Dec 2004, 12:46
Message #12


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 83
Inscrit : 1-October 04
Membre no 3384



Un autre problème sur la contribution : impossible de lancer le popup player meme quand "ouvrir le player" est à true dans l'admin
?????????????????????????????


--------------------
MS2FR sur Windows XP
Go to the top of the page
 
manmachine
posté 5 Dec 2004, 13:00
Message #13


Ceinture marron OSC
Icône de groupe

Groupe : Modérateurs
Messages : 1814
Inscrit : 2-July 04
Lieu : Nantes
Membre no 2788



QUOTE (sunlink @ 05 déc 2004, 11:47)
Salut manmachine, merci pour ton aide, j'ai effectivement trouvé l'erreur à l'endroit où tu l'indiquais, mais pour que tout soit nickel, il faut faire une modification au niveau du manuel de la contribution ici:

Line 973 find:

$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=edit_category') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=delete_category') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id . '&action=move_category') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a>'); 


Replace with:

//// osplayer V2 start // 
            $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=new_product') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=delete_product') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=move_product') . '">' . tep_image_button('button_move.gif', IMAGE_MOVE) . '</a> <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $pInfo->products_id . '&action=copy_to') . '">' . tep_image_button('button_copy_to.gif', IMAGE_COPY_TO) . '</a>&nbsp;<a href="' . tep_href_link("mp3manager.php", 'product_id=' . $pInfo->products_id) . '">' . tep_image_button('mp3manager.gif', "mp3 manager") . '</a>'); 
//// osplayer V2 end // 

En faisant cette ma,ip, on supprime les boutons Editer, Effacer Déplacer de la rubrique des catégories. Donc il faut laisser le script se trouvant à la ligne 973 et rajouter //// osplayer V2 start //  .....//// osplayer V2 end //  après

            $heading[] = array('text' => '<b>' . tep_get_products_name($pInfo->products_id, $languages_id) . '</b>');

Sinon maintenant ça marche.
Merci beaucoup.


oui c'est ce qui est indiqué dans le manuel ..

le manuel indique de faire les changements en dessous du tableau des categorie .

c'est l'hitoire des " lignes " qui est source d'erreur . etant donné que je dis ligne 973 , ce la peut preter a confusion car ca peut etre celle juste en dessous suivant les modifs que la fichier a deja subit .

EDIT : en effet apres verification il ya bien une erreur dans le manuel !! , je vais rectifier ca de suite .

Merci


--------------------
Nous ne sommes pas un SAV, nous aidons, mais nous ne faisons pas à votre place ..
Go to the top of the page
 
manmachine
posté 5 Dec 2004, 13:02
Message #14


Ceinture marron OSC
Icône de groupe

Groupe : Modérateurs
Messages : 1814
Inscrit : 2-July 04
Lieu : Nantes
Membre no 2788



QUOTE (sunlink @ 05 déc 2004, 12:46)
Un autre problème sur la contribution : impossible de lancer le popup player meme quand "ouvrir le player" est à true dans l'admin
?????????????????????????????

POur le problem de pop up , tu parle de quelle page ?

product_info ??

si oui , copie ici le code javascript que tu y a ajouté . stp


--------------------
Nous ne sommes pas un SAV, nous aidons, mais nous ne faisons pas à votre place ..
Go to the top of the page
 
sunlink
posté 5 Dec 2004, 13:34
Message #15


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 83
Inscrit : 1-October 04
Membre no 3384



Effectivement c'est dans product_info.php, voici le script :

[code supprimé]


--------------------
MS2FR sur Windows XP
Go to the top of the page
 
manmachine
posté 5 Dec 2004, 13:53
Message #16


Ceinture marron OSC
Icône de groupe

Groupe : Modérateurs
Messages : 1814
Inscrit : 2-July 04
Lieu : Nantes
Membre no 2788



l'erreur viens de la :

CODE

// osPlayer v2 start
function popupWindowPlayer(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,
scrollbars=no, resizable=no,copyhistory=no,width=193,height=265,screenX=0,
screenY=0,top=300,left=450')
}
// osPlayer v2 end


il ya des espaces dans la ligne des parametres par exemple :

menubar=no, scrollbars=no, resizable=no

alors que ce doit etre comme ca :

menubar=no,scrollbars=no,resizable=no

Ce problem est fais l'objet d'une FAQ sur le site d'osplayer .

Ca arrive souvent quand on copie / colle , via le manuel d'install , surement du a la mise en page .
Je vais ajouter une note dedans a ce propos .

wink.gif



--------------------
Nous ne sommes pas un SAV, nous aidons, mais nous ne faisons pas à votre place ..
Go to the top of the page
 
sunlink
posté 5 Dec 2004, 14:25
Message #17


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 83
Inscrit : 1-October 04
Membre no 3384



Alright, tu avais raison, problème réglé.
Merci beaucoup pour toute cette aide.


--------------------
MS2FR sur Windows XP
Go to the top of the page
 
bysmed
posté 12 Dec 2004, 11:59
Message #18


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 2
Inscrit : 7-December 04
Membre no 4003



j'ai installé os player avec ms2fr et tous est bon mais je n'arrive pas à ecouter les morceau de mp3??
le lecteur s'ouvre mais on écoute rien!!
merci de votre aide confused.gif
Go to the top of the page
 
tatao
posté 16 Dec 2004, 00:00
Message #19


Ceinture jaune OSC
Icône de groupe

Groupe : Membres
Messages : 67
Inscrit : 21-July 04
Membre no 2912



salut manmachine,

j'avais installé et adapté la 1ère version du player qui me satisfesait déjà biggrin.gif
Mais là jviens à peine d'ouvrir mon site que tu sors une nouvelle version 3 fois + complexe biggrin.gif
blink.gif
c vraiment du bon boulot wink.gif

j'hésite à faire le pas de changer à nouveau...
mais je me posais une question...

ce nouveau player permet plusieurs morceaux par articles, et c nikel wink.gif
mais est-ce qu'il permet aussi de garder tout les morceaux joués dans la liste ?
Donc, si tu clic sur plrs articles, avoir tous ces morceaux dans le player
???
si oui, je suis preneur

blush.gif

et est-ce que l'auto-play marche ?
ou plutot comment marche-t-il ?
si on clique sur le petit bouton preview (dans la description de l'article), le player se charge et le morceau est directement joué ?


merci, et encore bravo !


--------------------
MS2FR - YASU2 - MP3preview
Go to the top of the page
 
bzmuz
posté 18 Dec 2004, 16:27
Message #20


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 158
Inscrit : 14-September 03
Membre no 1460



y'a des modules qui sont vraiment des cadeau de noël, merci à toi manmachine biggrin.gif .

Une chose, beaucoup de sites logent leurs audios sur un serveur externe.
Quelqu'un aurait-il déjà pensé à rajouter la fonction php ftp dans l'admin pour pouvoir uploader ces mp3 sur un serveur externe et fait les modif pour que les repertoires mp3 soit aussi definit ici ?

Go to the top of the page
 
manmachine
posté 18 Dec 2004, 17:03
Message #21


Ceinture marron OSC
Icône de groupe

Groupe : Modérateurs
Messages : 1814
Inscrit : 2-July 04
Lieu : Nantes
Membre no 2788



QUOTE

ce nouveau player permet plusieurs morceaux par articles, et c nikel wink.gif
mais est-ce qu'il permet aussi de garder tout les morceaux joués dans la liste ?
Donc, si tu clic sur plrs articles, avoir tous ces morceaux dans le player
???
si oui, je suis preneur


non il ne garde pas les playlist , de chaque produit en les ajoutant au fur et a mesure . Ce serait envisagable , mais je ne pense pas que ce genre d'options interesse beaucoup de gens , je ne le ferais donc pas , mais llibre a qui veut d'ajouter cette possibilité .


QUOTE

et est-ce que l'auto-play marche ?
ou plutot comment marche-t-il ?
si on clique sur le petit bouton preview (dans la description de l'article), le player se charge et le morceau est directement joué ?


oui l'autoplay marche , mais si tu veux rester sur la v1.4 , j'ai fait une version en autoplay aussi , elle pas dispo en telechargement mais je peux t'envoyer ca si tu veux .

bzmuz
QUOTE

Une chose, beaucoup de sites logent leurs audios sur un serveur externe.
Quelqu'un aurait-il déjà pensé à rajouter la fonction php ftp dans l'admin pour pouvoir uploader ces mp3 sur un serveur externe et fait les modif pour que les repertoires mp3 soit aussi definit ici ?


en effet c'est un point important que de pouvoir stocker les mp3 sur un autre serveur , mais ce pose des problems de sécurité que macromedia ne rend faciles a solutionner . Le plugins flash n'autorise pas le passage de variable d'un serveur a un autre , du moins pas facilement . Il faut que je me penche sur le sujet .


--------------------
Nous ne sommes pas un SAV, nous aidons, mais nous ne faisons pas à votre place ..
Go to the top of the page
 
tatao
posté 18 Dec 2004, 18:25
Message #22


Ceinture jaune OSC
Icône de groupe

Groupe : Membres
Messages : 67
Inscrit : 21-July 04
Membre no 2912



QUOTE (manmachine @ 18 déc 2004, 17:03)
si tu veux rester sur la v1.4 , j'ai fait une version en autoplay aussi , elle pas dispo en telechargement mais je peux t'envoyer ca si tu veux .

biggrin.gif
oui je veux bien, ça serait cool wink.gif
ou ce qui serait encore mieux, comme je connais pas bcp flash, ça serait de me dire comment changer ça moi-même, car j'ai changé le design...


sinon, jsuis occupé à refaire le design de la nouvelle version pour qu'il corresponde à mon site, mais je suis pas encore sur de l'utiliser, ...

Pour l'instant j'ai la première version qui se charge dans un iframe, et donc ça me ferait à nouveau bcp de changement à faire avec la nouvelle version.

à moins que je puisse utiliser le design de la nouvelle version en gardant mes pages php intactes ?
ou en rajoutant juste la fonction pour ajouter plrs morceaux ?
tu crois que c'est facilement fesable ?


--------------------
MS2FR - YASU2 - MP3preview
Go to the top of the page
 
claude69
posté 18 Dec 2004, 18:31
Message #23


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 224
Inscrit : 23-April 04
Lieu : LYON
Membre no 2341



Bonjour,
j'ai une version oscommerce très modifié.

Que me conseil tu pour l'instal ?

Merci


--------------------
Merci à vous

Version :
MSR2 FR + BTS 1.2

Contributions :
Admi accesslevel
easypopulate
send_order_html_email_v424
best_sellers_scroll_1_2
contre remboursement V1.0
master password
Go to the top of the page
 
manmachine
posté 19 Dec 2004, 12:22
Message #24


Ceinture marron OSC
Icône de groupe

Groupe : Modérateurs
Messages : 1814
Inscrit : 2-July 04
Lieu : Nantes
Membre no 2788



QUOTE

oui je veux bien, ça serait cool
ou ce qui serait encore mieux, comme je connais pas bcp flash, ça serait de me dire comment changer ça moi-même, car j'ai changé le design...


pour le mettre en autoplay 2 solutions :

1 radicale :

dans le fla frame 5 , layer " scripts "

CODE

stop();

var file = _root.titre; //  we initialise the filename variable
var dir = _root.path; // we get the mp3 folder path
var nam = _root.titl;  // we initialise the title variable

track = dir+file;

// play and stop button function
bt_play.onRelease = function() {
gotoAndPlay("start");
}
bt_stop.onRelease = function() {
song.stop();
gotoAndStop("stop");
truc.gotoAndStop(1);
}


tu enleve tout simplement le stop();


sinon moins radicale , ca te permettra de choisir si oui ou on c'est en autoplay :
CODE


if ( _root.autoplay == true ) {
play();
} else {
stop();
}

var file = _root.titre; //  we initialise the filename variable
var dir = _root.path; // we get the mp3 folder path
var nam = _root.titl;  // we initialise the title variable

track = dir+file;

// play and stop button function
bt_play.onRelease = function() {
gotoAndPlay("start");
}
bt_stop.onRelease = function() {
song.stop();
gotoAndStop("stop");
truc.gotoAndStop(1);
}


et du coup il faut jouter cette variable dans le player.php

CODE

<object type="application/x-shockwave-flash" data="osc_player.swf?titre=<?php echo $track;?>&path=<?php echo $path;?>&titl=<?php echo $title;?>&autoplay=true" width="193" height="118">
<param name="scale" value="exactfit" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="movie"value="osc_player.swf?titre=<?php echo $track;?>&path=<?php echo $path;?>&titl=<?php echo $title;?>&autoplay=true"/>
<a href=http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash  target="blank"><img src="images/icons/noflash.gif" width="88" height="31" vspace="5" hspace="50" alt="install flash player plugin"/></a>
</object>


que tu met sur true ou false selon tes besoins ..

wink.gif

claude69

QUOTE

Bonjour,
j'ai une version oscommerce très modifié.

Que me conseil tu pour l'instal ?

Merci


et bien si elle modifié c'est que tu dois maitriser le php , utilise l'installation avancé , c'est simple .


--------------------
Nous ne sommes pas un SAV, nous aidons, mais nous ne faisons pas à votre place ..
Go to the top of the page
 
tatao
posté 20 Dec 2004, 13:24
Message #25


Ceinture jaune OSC
Icône de groupe

Groupe : Membres
Messages : 67
Inscrit : 21-July 04
Membre no 2912



biggrin.gif merci manmachine wink.gif

jvai changer ça directement.

Sinon, tu penses que l'évolution vers la nouvelle version est simple à faire ?
ou il vaut mieux repartir à 0 ?


--------------------
MS2FR - YASU2 - MP3preview
Go to the top of the page
 

2 Pages V   1 2 >
Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



RSS Version bas débit Nous sommes le : 22nd May 2013 - 15:12
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)