The abort error is caused by javascript issues with IE. To solve this you can delete this portion of code in the file plugin_jw_allvideos.php (at the end):
Code:
// This is the excellent "EOLAS - no click to activate" fix/patch
// from Gero Zahn, for IE and Opera browsers, which is already
// implemented for Joomla as a seperate plugin.
/*
* @version v 1.0
* @author: Gero Zahn, gero@gerozahn.de www.gerozahn.de/bot_gznoclicktoactivate
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
$_MAMBOTS->registerFunction( 'onPrepareContent', 'botgznoclicktoactivate' );
function botgznoclicktoactivate( $published, &$row, $mask=0, $page=0 ) {
global $mosConfig_absolute_path, $mosConfig_live_site;
if (!$published) { # not published?
return;
} else { # Work just if published
# All tag areas or tags to be processed. Important: Start with <object ...>...</object> areas
# as it could contain an <embed ...>..</embed> area or (perhaps) an unclosed <embed ...> tags
$tags=array('`<object[^>]*>(.*)</object>`isU', # <object ...>...</object> areas
'`<applet[^>]*>(.*)</applet>`isU', # <applet ...>...</applet> areas
'`<embed[^>]*>(.*)</embed>`isU', # <embed ...>..</embed> areas
'`<embed[^>]*>`isU'); # single, unclosed <embed ...> tags outsite object areas
$replacements=array(); # Storage for the elements found to be processed
foreach(array_keys($tags) as $idx) { # Handle all kings of tag areas and tags, one by one
$tmptags=array(); # Storage for the found occurrences
preg_match_all($tags[$idx],$row->text,$tmptags); # And here they are
if ($tmptags) { # Found some?
foreach(array_keys($tmptags[0]) as $secidx) { # Deal with them, one by one
# We have to move them apart -- especially <object ...>...</object> areas with an internal
# <embed ...>..</embed> area or an unclosed <embed ...> tag -- otherwise they'd be found again.
$tagval=$tmptags[0][$secidx]; # This is the current occurrence to be processed later on
//$tagkey="replacetag_".$idx."_".$secidx; # Temporarily replace it by "replacetag_x_y"
$tagkey="replacetag_".$idx."_".$secidx."_end"; // JW fix
# ... where x is 0..3 (object/applet/embed/s.embed) and y is the corresponding number.
$replacements[$tagkey]=$tagval; # Store the occurrence beside it's unique key ...
$row->text=str_replace($tagval,$tagkey,$row->text); # ... and actually replace the occurrence with the key
}
}
unset($tmptags); # A bit of dirty work
}
foreach($replacements as $tagkey => $tagval) { # Handle all occurrences, one by one
$jsval=addslashes($tagval); # Handle special characters properly
$jsval=str_replace(chr(13),"",$jsval); # remove CRs - all in one line
$jsval=str_replace(chr(10),"",$jsval); # remove LFs - all in one line
# 1. Embed that tiny little external JS to work as actual embedder.
# 2. Embed the original occurrence inside a JS variable --
# 3. Call the tiny little embedder to dynamically output the variable
# 4. Embed the original, unchanged occurrence in a <noscript>...</noscript> area as fall-back
$jsval= "<script src=\"$mosConfig_live_site/mambots/content/plugin_jw_allvideos/gz_eolas_fix.js\" type=\"text/javascript\"></script>\n".
"<script language=\"JavaScript\">\n".
"<!--\n".
"var jsval = '$jsval';\n".
# "//document.write(jsval);". # This doesn't work as it's an internal document.write(...)
"writethis(jsval);". # So: Use the external one-liner function to perform the trick
"//-->\n".
"</script>\n".
"<noscript>$tagval</noscript>";
# The original occurrence has been replaced with its unique "key" beforehanded,
# now replace this stored key with is JS wrapper and noscript fallback.
$row->text=str_replace($tagkey,$jsval,$row->text);
}
unset($replacements); # A bit of dirty work
return true; # Done!
}
}
In 2.5 we'll have an option to disable this.
obeoneweb wrote:
Has anyone had any luck getting the AllVideos working with Mossets Hot Property. I have dried many things, and am having no luck.
Contact
http://www.webpr.gr for this.
_________________
JoomlaWorks | The Joomla! ProfessionalsDevelopers of K2, Frontpage Slideshow, AllVideos, Simple Image Gallery (free/pro), SuperBlogger, K2mart and many more!
Visit:
joomlaworks.net (Extensions/Downloads/Demos/Forum) |
getk2.org (Community/Extensions/Showcase/Demos)