# HG changeset patch # User ymh # Date 1273663886 -7200 # Node ID 7f75650ef59df9f1c05d0d69b5a3b7195e77ec05 # Parent 92097c54908185df9ce64253bef740b6a38e1a67 add absolute path for player diff -r 92097c549081 -r 7f75650ef59d build/sbin/sync_mosatags --- a/build/sbin/sync_mosatags Fri May 07 12:19:04 2010 +0200 +++ b/build/sbin/sync_mosatags Wed May 12 13:31:26 2010 +0200 @@ -147,6 +147,8 @@ P robots.txt P log/*** P data/*** +P web/media/*** +P web/media EOT if [ "$hg_operation" == "update" ]; then pushd "$export_path_web"; diff -r 92097c549081 -r 7f75650ef59d web/thdProject/apps/frontend/modules/homepage/templates/searchSuccess.php --- a/web/thdProject/apps/frontend/modules/homepage/templates/searchSuccess.php Fri May 07 12:19:04 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/homepage/templates/searchSuccess.php Wed May 12 13:31:26 2010 +0200 @@ -11,7 +11,7 @@ diff -r 92097c549081 -r 7f75650ef59d web/thdProject/web/js/uc.common.js --- a/web/thdProject/web/js/uc.common.js Fri May 07 12:19:04 2010 +0200 +++ b/web/thdProject/web/js/uc.common.js Wed May 12 13:31:26 2010 +0200 @@ -10,6 +10,24 @@ uc.utils.ajaxifyForm(jQuery('form.ajax'), function() {uc.common.ajaxify();}); } +uc.common.initplayer = function(swflocation) { + jQuery(document).ready(function() { + // Instantiate all flow player + flowplayer(".player-item", swflocation, + { + // configuration for a clip + clip: { + autoPlay: true, + autoBuffering: true, + scaling: 'fit' + }, + // setup controlbar to use skins + plugins: { + controls: conf.skins.universcine + } + }); + }); +} // Process document after its loading jQuery(document).ready(function() { @@ -24,19 +42,5 @@ jq_this.blur(function() {if (jq_this.val() == '') jq_this.val(help);}); }); - // Instantiate all flow player - flowplayer(".player-item", "flashes/flowplayer-3.1.3.swf", - { - // configuration for a clip - clip: { - autoPlay: true, - autoBuffering: true, - scaling: 'fit' - }, - // setup controlbar to use skins - plugins: { - controls: conf.skins.universcine - } - }); });