Auguria_Video - Version 0.0.3

Version Notes

Auguria_Video

Download this release

Release Info

Developer Auguria
Extension Auguria_Video
Version 0.0.3
Comparing to
See all releases


Code changes from version 0.0.1 to 0.0.3

app/code/community/Auguria/Video/etc/config.xml CHANGED
@@ -10,7 +10,7 @@
10
  <config>
11
  <modules>
12
  <Auguria_Video>
13
- <version>0.0.1</version>
14
  </Auguria_Video>
15
  </modules>
16
  <frontend>
10
  <config>
11
  <modules>
12
  <Auguria_Video>
13
+ <version>0.0.3</version>
14
  </Auguria_Video>
15
  </modules>
16
  <frontend>
app/design/frontend/base/default/layout/auguria/video.xml CHANGED
@@ -19,7 +19,7 @@
19
  </reference>
20
  </cms_index_index>
21
  <catalog_product_view>
22
- <reference name="product.info">
23
  <block type="auguria_video/product" name="video_product" template="auguria/video/product.phtml" />
24
  </reference>
25
  </catalog_product_view>
19
  </reference>
20
  </cms_index_index>
21
  <catalog_product_view>
22
+ <reference name="product.info.extrahint">
23
  <block type="auguria_video/product" name="video_product" template="auguria/video/product.phtml" />
24
  </reference>
25
  </catalog_product_view>
app/design/frontend/base/default/template/auguria/video/home.phtml CHANGED
@@ -31,7 +31,8 @@
31
  minimizable:false,
32
  maximizable:false,
33
  showEffectOptions:{duration:0.4},
34
- hideEffectOptions:{duration:0.4}
 
35
  });
36
  videoPlayer.setZIndex(100);
37
  videoPlayer.showCenter(true);
31
  minimizable:false,
32
  maximizable:false,
33
  showEffectOptions:{duration:0.4},
34
+ hideEffectOptions:{duration:0.4},
35
+ onClose:function(event) { $('video-player').src=""; }
36
  });
37
  videoPlayer.setZIndex(100);
38
  videoPlayer.showCenter(true);
app/design/frontend/base/default/template/auguria/video/list.phtml CHANGED
@@ -6,12 +6,15 @@
6
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
  */
8
  ?>
9
- <div id="messages_video_list">
10
- <div id="messages_video_msg"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
11
-
 
 
 
12
  <?php
13
  $_videos = $this->getVideos();
14
-
15
  if ($_videos && $_videos->count()>0):
16
  ?>
17
  <div id="video-player-container" style="display:none">
@@ -21,7 +24,7 @@
21
  <?php
22
  foreach ($_videos as $_item):
23
  ?>
24
-
25
  <?php
26
  if ($this->getItemImage($_item)!=false):
27
  ?>
@@ -30,7 +33,7 @@
30
  <p class="title"><?php echo $_item->getTitle(); ?></p>
31
  <img src="<?php echo $this->getItemImage($_item); ?>" alt="<?php echo $_item->getTitle(); ?>" />
32
  <p class="description"><?php echo $_item->getDescription(); ?></p>
33
-
34
  <script type="text/javascript">
35
  //<![CDATA[
36
  Event.observe('li-<?php echo $_item->getId(); ?>', 'click', function(event) {
@@ -43,7 +46,8 @@
43
  minimizable:false,
44
  maximizable:false,
45
  showEffectOptions:{duration:0.4},
46
- hideEffectOptions:{duration:0.4}
 
47
  });
48
  videoPlayer.setZIndex(100);
49
  videoPlayer.showCenter(true);
6
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
  */
8
  ?>
9
+
10
+ <div id="messages_video_list">
11
+ <div id="messages_video_msg"><?php echo $this->getMessagesBlock()->getGroupedHtml(); ?></div>
12
+ <div class="page-title video-list-title">
13
+ <h1><?php echo $this->__('Video page'); ?></h1>
14
+ </div>
15
  <?php
16
  $_videos = $this->getVideos();
17
+
18
  if ($_videos && $_videos->count()>0):
19
  ?>
20
  <div id="video-player-container" style="display:none">
24
  <?php
25
  foreach ($_videos as $_item):
26
  ?>
27
+
28
  <?php
29
  if ($this->getItemImage($_item)!=false):
30
  ?>
33
  <p class="title"><?php echo $_item->getTitle(); ?></p>
34
  <img src="<?php echo $this->getItemImage($_item); ?>" alt="<?php echo $_item->getTitle(); ?>" />
35
  <p class="description"><?php echo $_item->getDescription(); ?></p>
36
+
37
  <script type="text/javascript">
38
  //<![CDATA[
39
  Event.observe('li-<?php echo $_item->getId(); ?>', 'click', function(event) {
46
  minimizable:false,
47
  maximizable:false,
48
  showEffectOptions:{duration:0.4},
49
+ hideEffectOptions:{duration:0.4},
50
+ onClose:function(event) { $('video-player').src=""; }
51
  });
52
  videoPlayer.setZIndex(100);
53
  videoPlayer.showCenter(true);
app/design/frontend/base/default/template/auguria/video/product.phtml CHANGED
@@ -6,7 +6,7 @@
6
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
  */
8
  ?>
9
- <div id="messages_video_list">
10
  <div id="messages_video_msg"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
11
 
12
  <?php
@@ -41,10 +41,12 @@
41
  minimizable:false,
42
  maximizable:false,
43
  showEffectOptions:{duration:0.4},
44
- hideEffectOptions:{duration:0.4}
 
45
  });
46
  videoPlayer.setZIndex(100);
47
  videoPlayer.showCenter(true);
 
48
  $('video-player').src="http://www.youtube.com/v/<?php echo $_item->getImageIdentifier(); ?>&hl=fr&autoplay=1";
49
  videoPlayer.getContent().update($('video-player'));
50
  });
@@ -63,4 +65,5 @@
63
  <?php
64
  endif;
65
  ?>
 
66
  </div>
6
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
  */
8
  ?>
9
+ <div id="messages_video_list">
10
  <div id="messages_video_msg"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
11
 
12
  <?php
41
  minimizable:false,
42
  maximizable:false,
43
  showEffectOptions:{duration:0.4},
44
+ hideEffectOptions:{duration:0.4},
45
+ onClose:function(event) { $('video-player').src=""; }
46
  });
47
  videoPlayer.setZIndex(100);
48
  videoPlayer.showCenter(true);
49
+
50
  $('video-player').src="http://www.youtube.com/v/<?php echo $_item->getImageIdentifier(); ?>&hl=fr&autoplay=1";
51
  videoPlayer.getContent().update($('video-player'));
52
  });
65
  <?php
66
  endif;
67
  ?>
68
+ <div class="clearer"></div>
69
  </div>
app/locale/fr_FR/Auguria_Contact.csv DELETED
@@ -1,35 +0,0 @@
1
- "Contacts","Contacts"
2
- "Add Contact","Ajouter un contact"
3
- "An error occurred while mass deleting contacts. Please review log and try again.","Une erreur est survenue lors de la suppression en masse des contacts. Merci de regarder les logs et d'essayer ultérieurement."
4
- "Are you sure you want to delete these contacts?","Êtes vous sure de vouloir supprimer ces contacts ?"
5
- "Comment","Message"
6
- "Contact a service","Contactez un service"
7
- "Contact Information","Informations du contact"
8
- "Default recipient","Destinataire par défaut"
9
- "Delete","Supprimer"
10
- "Delete Contact","Supprimer le contact"
11
- "Edit Contact","Édition de contact"
12
- "Edit Contact '%s'","Édition du contact '%s'"
13
- "Email","Email"
14
- "Email Subject","Sujet de l'email"
15
- "Email Template","Gabarit du mail"
16
- "Firstname","Prénom"
17
- "Form contact","Formulaire de contact"
18
- "Frontend Subject","Sujet proposé au client"
19
- "General Information","Informations générales"
20
- "ID","ID"
21
- "Identifier","Identifiant"
22
- "Lastname","Nom"
23
- "Manage Contacts","Gérer les contacts"
24
- "New Contact","Nouveau contact"
25
- "Order Id","N° de commande"
26
- "Please select a subject","Contactez un service"
27
- "Please select contact(s).","Merci de sélectionner au moins un contact."
28
- "Position","Position"
29
- "Save Contact","Sauvegarder le contact"
30
- "Store View","Vue magasin"
31
- "Telephone","Téléphone"
32
- "The contact has been deleted.","Le contact a bien été supprimé."
33
- "The contact has been saved.","Le contact a bien été sauvegardé."
34
- "This contact no longer exists.","Ce contact n'existe plus."
35
- "Unable to find a contact to delete.","Impossible de trouver le contact à supprimer."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/fr_FR/Auguria_Video.csv ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "There is no available video.","Aucune vidéo n'est disponible."
2
+ "Videos","Vidéos"
3
+ "Video page","Page des vidéos"
4
+ "Manage videos","Gérer les vidéos"
5
+ "Videos list","Liste des vidéos"
6
+ "Item Information","Vidéo information"
7
+ "Delete Item","Supprimer la vidéo"
8
+ "Save Item","Sauvegarder la vidéo"
9
+ "Save And Continue Edit","Sauvegarder et continuer à éditer"
10
+ "Associated product","Produit associer"
11
+ "Display on home page","Afficher sur la page d'accueil"
12
+ "Select product","Sélectionner un produit"
13
+ "The video has been successfully recorded","La vidéo a bien été enregistrée"
14
+ "The video has been successfully deleted","La vidéo a bien été supprimée"
15
+ "Are you sure to change status of selected videos ?","Êtes vous sûre de vouloir changer le statut des vidéos ?"
16
+ "Are you sure to delete selected videos ?","Êtes vous sûre de vouloir supprimer les vidéos ?"
17
+ "Total of %d record(s) were successfully deleted","%d vidéo(s) ont été supprimées"
18
+ "Total of %d record(s) were successfully updated","%d vidéo(s) ont été mises à jour"
19
+ "This video doesn't exist","Cette vidéo n'existe pas"
20
+ "Item does not exist","Cette vidéo n'existe pas"
21
+ "Add a video","Ajouter une vidéo"
22
+ "Unable to find change to save","Impossible de trouver les modifications à enregistrer"
23
+ "Please select keys","Merci de sélectionner des vidéos"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Auguria_Video</name>
4
- <version>0.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Auguria_Video</description>
11
  <notes>Auguria_Video</notes>
12
  <authors><author><name>Auguria</name><user>Auguria</user><email>magento@auguria.net</email></author></authors>
13
- <date>2012-06-21</date>
14
- <time>15:52:08</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Auguria_Video.xml" hash="3f7d24c30b1d1bf38f51f75ad89d141a"/></dir></target><target name="magecommunity"><dir name="Auguria"><dir name="Video"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Widget"><file name="Chooser.php" hash="757e3d10d47e1735f8aa4e7d36d57537"/></dir></dir></dir><dir name="Video"><dir name="Edit"><file name="Form.php" hash="743d6f1ab0091382fdf544db3fb11a15"/><dir name="Tab"><file name="Form.php" hash="45c3dc5c07ffca04d681a95b6f7d6af9"/></dir><file name="Tabs.php" hash="ebacc489645260eb8dc420a444ef30f3"/></dir><file name="Edit.php" hash="6c6be466d306e743885be08ff7462260"/><file name="Grid.php" hash="991bbfaadee5f62ad29f0e726ba15d11"/></dir><file name="Video.php" hash="7e6631a917efda1d8374f034748dbe5f"/></dir><file name="Home.php" hash="87d328c177ccd0b39366ba9284b275cf"/><file name="List.php" hash="9b73d80cb69871fc0a1da80552ab78fa"/><file name="Product.php" hash="0e3183b98bacb084396fd62293923afc"/></dir><dir name="Helper"><file name="Data.php" hash="d56b466bdfc3a3359689e994fc95a6ab"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Video"><file name="Collection.php" hash="573e4551b271bd450e64225a3c7657fb"/></dir><file name="Video.php" hash="9ee3447fe36e87ec224959d28b01dc90"/></dir><file name="Video.php" hash="37c3b550cae6838a2405ca94200c5326"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="VideoController.php" hash="b44de16050b0ec5991dbe215fe53bb5c"/></dir><file name="IndexController.php" hash="3588273b74295159313b52de9ee65160"/></dir><dir name="etc"><file name="adminhtml.xml" hash="85dcc6fe92520c617ffc00861f6b1db8"/><file name="config.xml" hash="558b94a504675f120bf9934ad381fbc3"/></dir><dir name="sql"><dir name="auguria_video_setup"><file name="mysql4-install-0.0.1.php" hash="bf474926ec7a92a220704024ee1ff555"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="auguria"><file name="video.xml" hash="197da266c6534bffa927b4a364740d3d"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="auguria"><file name="video.xml" hash="493f00d4ea694b5afcff96deabe50359"/></dir></dir><dir name="template"><dir name="auguria"><dir name="video"><file name="home.phtml" hash="c591a615fda40244d74028553cd7d0b3"/><file name="list.phtml" hash="140998d6688097ffa20c7fd46c7152af"/><file name="product.phtml" hash="c23c9bfcfc2f689c42383f8e16ec6711"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Auguria_Contact.csv" hash="da1180263c41e32d20826cf37bbd9034"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="auguria"><dir name="video"><file name="styles.css" hash="bba9a986a4ff8e826fcf371bd453c7d2"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Auguria_Video</name>
4
+ <version>0.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
10
  <description>Auguria_Video</description>
11
  <notes>Auguria_Video</notes>
12
  <authors><author><name>Auguria</name><user>Auguria</user><email>magento@auguria.net</email></author></authors>
13
+ <date>2012-06-22</date>
14
+ <time>12:19:04</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Auguria_Video.xml" hash="3f7d24c30b1d1bf38f51f75ad89d141a"/></dir></target><target name="magecommunity"><dir name="Auguria"><dir name="Video"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Widget"><file name="Chooser.php" hash="757e3d10d47e1735f8aa4e7d36d57537"/></dir></dir></dir><dir name="Video"><dir name="Edit"><file name="Form.php" hash="743d6f1ab0091382fdf544db3fb11a15"/><dir name="Tab"><file name="Form.php" hash="45c3dc5c07ffca04d681a95b6f7d6af9"/></dir><file name="Tabs.php" hash="ebacc489645260eb8dc420a444ef30f3"/></dir><file name="Edit.php" hash="6c6be466d306e743885be08ff7462260"/><file name="Grid.php" hash="991bbfaadee5f62ad29f0e726ba15d11"/></dir><file name="Video.php" hash="7e6631a917efda1d8374f034748dbe5f"/></dir><file name="Home.php" hash="87d328c177ccd0b39366ba9284b275cf"/><file name="List.php" hash="9b73d80cb69871fc0a1da80552ab78fa"/><file name="Product.php" hash="0e3183b98bacb084396fd62293923afc"/></dir><dir name="Helper"><file name="Data.php" hash="d56b466bdfc3a3359689e994fc95a6ab"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Video"><file name="Collection.php" hash="573e4551b271bd450e64225a3c7657fb"/></dir><file name="Video.php" hash="9ee3447fe36e87ec224959d28b01dc90"/></dir><file name="Video.php" hash="37c3b550cae6838a2405ca94200c5326"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="VideoController.php" hash="b44de16050b0ec5991dbe215fe53bb5c"/></dir><file name="IndexController.php" hash="3588273b74295159313b52de9ee65160"/></dir><dir name="etc"><file name="adminhtml.xml" hash="85dcc6fe92520c617ffc00861f6b1db8"/><file name="config.xml" hash="57b1b6384befa906be3e0c2bb7558fde"/></dir><dir name="sql"><dir name="auguria_video_setup"><file name="mysql4-install-0.0.1.php" hash="bf474926ec7a92a220704024ee1ff555"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="auguria"><file name="video.xml" hash="197da266c6534bffa927b4a364740d3d"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="auguria"><file name="video.xml" hash="0c0bb8e338c66087b4982940fbe9d35b"/></dir></dir><dir name="template"><dir name="auguria"><dir name="video"><file name="home.phtml" hash="a51752cf313617b11a7996f869cbb52d"/><file name="list.phtml" hash="491864f9edd202be20846ac5ece93f93"/><file name="product.phtml" hash="13fbf2b26923c35743c3f089426524d8"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Auguria_Video.csv" hash="a7a3c254d05fbcc43a7d963a52c9d1ee"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="auguria"><dir name="video"><file name="styles.css" hash="54722bf09ea43d3cdbecfbec90d1a7f9"/></dir></dir></dir><dir name="images"><dir name="auguria"><dir name="video"><file name="i_video-player_play.png" hash="e36c1eecfb37aa89e6a4b92e6ddb8ed1"/><file name="i_video-player_play_thumb.png" hash="ded9958fe69a2ecf591370511af74069"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
18
  </package>
skin/frontend/base/default/css/auguria/video/styles.css CHANGED
@@ -1,9 +1,8 @@
1
  #home_video_preview {position:relative; cursor:pointer;}
2
  #home_video_preview .hvp_play {position:absolute; top:90px; left:185px; width:71px; height:71px; background:url('../../../images/auguria/video/i_video-player_play.png') no-repeat;}
3
 
4
- #messages_video_list {float:left; cursor:pointer;}
5
- #messages_video_list .title {font-size:14px; font-weight:bold; color:#FFF;}
6
- #messages_video_list li {position:relative; border:1px solid #775629; }
7
  #messages_video_list li .hvp_play {position:absolute; top:47px; left:33px; width:71px; height:71px; background:url('../../../images/auguria/video/i_video-player_play.png') no-repeat;}
8
 
9
  .catalog-product-view #messages_video_list li .hvp_play {position:absolute; top:10px; left:30px; width:71px; height:71px; background:url('../../../images/auguria/video/i_video-player_play_thumb.png') no-repeat;}
1
  #home_video_preview {position:relative; cursor:pointer;}
2
  #home_video_preview .hvp_play {position:absolute; top:90px; left:185px; width:71px; height:71px; background:url('../../../images/auguria/video/i_video-player_play.png') no-repeat;}
3
 
4
+ #messages_video_list {cursor:pointer;}
5
+ #messages_video_list li {position:relative; float: left; margin:2px;}
 
6
  #messages_video_list li .hvp_play {position:absolute; top:47px; left:33px; width:71px; height:71px; background:url('../../../images/auguria/video/i_video-player_play.png') no-repeat;}
7
 
8
  .catalog-product-view #messages_video_list li .hvp_play {position:absolute; top:10px; left:30px; width:71px; height:71px; background:url('../../../images/auguria/video/i_video-player_play_thumb.png') no-repeat;}
skin/frontend/base/default/images/auguria/video/i_video-player_play.png ADDED
Binary file
skin/frontend/base/default/images/auguria/video/i_video-player_play_thumb.png ADDED
Binary file