Keyword

Plugin Works Perfectly in FireFox, Fails in IE

  • daedalus
  • daedalus's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #26815 by daedalus
Allright, i've done ample searches on this forum and while I've found other people posting what I believe to be the same error, no one has had a work around or fix for this problem.

I've paid for JW plugins (I use FPSS and love it!), and I use AllVideos on my website and as well.  However, this AllVideos bug needs to be corrected.  As far as I can tell it relates to IE ONLY and either has something to do with the <object> (Apparently IE doesn't like them?) tags or more likely something to do with JW Player itself.

If you load up my website in FireFox or any other browser it works just fine use the following link as an example:

www.synergy4trading.com/index.php?option=com_content&view=article&id=98&Itemid=99

However, load up the same link in Internet Explorer and only one video is shown, there is an HTML error and it kills all of the scripting after the first embed.

The research i've done turned up a couple hacks, but only for other Joomla video player modules that had this same problem in IE but I don't know how to cross apply the fix to the AllVideos code.  Other joomla video players have fixed this bug and offered new releases.  I upgraded to 3.0 today thinking the problem had been addressed and was disappointed to find it hasn't.

The following link is one of the hacks for another Joomla video module.

blog.manchumahara.com/2009/04/12/problem-in-ie-for-simple_video_flash_player-joomla-module/

Can any of the developers help!?  This isn't a small bug... i mean the plugin fails to work with one of the most widely used browsers in the world.  Please help!!!

Please Log in or Create an account to join the conversation.

  • daedalus
  • daedalus's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #26816 by daedalus
I should note that I just tried this workaround:

forum.joomlaworks.net/index.php?topic=5375.0

And I couldn't get it to work.  I reverted back to 2.5.4 (because thats what the workaround was coded for) and each time I replaced the "jw_allvideos_sources.php" I got a "Restricted Access" error and it killed the site.

Basically the workaround states that the error is derived from IE choosing the wrong player and it killing the script.  So the workaround changes the default player selected by IE.  However, I can't get the workaround to work.

If nothing else, it proves i'm not the only one having this issue.

Anyone know how to bypass the restricted access part?

Modified Code:
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

    $browser = get_browser();
    if($browser->browser == 'IE') {
      $prehravac = "mediaplayer_4.3.swf";
    } else {
      $prehravac = "viralmediaplayer_4.3.swf";
    }

Original:
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

Obviously there is more to it as each defined source and the player its selected runs through the new browser check (as defined above) rather than how it was originally defined.

Any ideas folks?

Please Log in or Create an account to join the conversation.

  • daedalus
  • daedalus's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #26817 by daedalus
I tried further downgrading to 2.5.1 based off this refrence:

forum.joomlaworks.net/index.php?topic=5636.0

However, the problems still remains.  It kills all the code after the embed ONLY IN IE.

Please Log in or Create an account to join the conversation.

  • daedalus
  • daedalus's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #26818 by daedalus
Allright gents... issue solved.

The problem isn't so much AllVideos as it is the default video player AllVideos selects.

To fix the issue in IE you need to uninstall (or at least disable) AllVideos and install AllVideos Reloaded 1.2.

You can find out more and download here:  allvideos.fritz-elfert.de/

Reloaded will basically utilize any existing tags you already have built in with your content but what it does is switch the players (and give you more choices of what player you want your site to use) for each piece of media.

By setting my content to play using Windows Media Player rather than JW WMV Player (the default in AllVideos 2.5+) the script errors never occur in IE.  But, one of the nifty things you can do in Reloaded is load your content up with different players.  As soon as I changed the default player from Windows Media back to JW WMV, and BAM it killed IE again in the exact same way.

So use Reloaded instead.  It fixes this issue (by allowing you to bypass it as its some type of IE flaw handling JW Player) and gives you 95% of the same functionality (even more so, but in a slightly different package).

I hope that this bug is corrected or at least mentioned in the documentation with AllVideos 3.0 to avoid the headaches i've had trying to fix this!

Cheers!

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #26819 by BoxingChaos
Replied by BoxingChaos on topic Re: Plugin Works Perfectly in FireFox, Fails in IE

Allright gents... issue solved.

The problem isn't so much AllVideos as it is the default video player AllVideos selects.

To fix the issue in IE you need to uninstall (or at least disable) AllVideos and install AllVideos Reloaded 1.2.

You can find out more and download here:  allvideos.fritz-elfert.de/

Reloaded will basically utilize any existing tags you already have built in with your content but what it does is switch the players (and give you more choices of what player you want your site to use) for each piece of media.

By setting my content to play using Windows Media Player rather than JW WMV Player (the default in AllVideos 2.5+) the script errors never occur in IE.  But, one of the nifty things you can do in Reloaded is load your content up with different players.  As soon as I changed the default player from Windows Media back to JW WMV, and BAM it killed IE again in the exact same way.

So use Reloaded instead.  It fixes this issue (by allowing you to bypass it as its some type of IE flaw handling JW Player) and gives you 95% of the same functionality (even more so, but in a slightly different package).

I hope that this bug is corrected or at least mentioned in the documentation with AllVideos 3.0 to avoid the headaches i've had trying to fix this!

Cheers!


I ain't uninstalling NADA!

People who still use Internet Exploiter can kiss my brown behind.
I can only try to persuade those who still use that pile of gorilla crap, to download and install an alternate stand alone web browser such as Firefox or Opera.

Please Log in or Create an account to join the conversation.

More
15 years 6 months ago - 15 years 6 months ago #26820 by PakWaan
No update to this?

No fix from the developers?

The only suggestion is to switch to a different plugin from another developer?

Come on guys....I, like many others here, have purchased some of your commercial extensions (which I have never had a problem with)and was hoping that even though this one is free, it would at least work properly - since it always used to be perfect in previous versions. 

I know IE sucks, but since over 70% of Internet users still use it, it needs to be supported. 

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #26821 by Alexis Marks
Replied by Alexis Marks on topic Re: Plugin Works Perfectly in FireFox, Fails in IE
This is the workaround I did for *.wma files.  If you need a workaround for another type, let me know.

Go to jw_allvideos/includes/sources.php

Go to line 120 to change the default player for *.wma.  Change this part:
"wma" => "
<span id=\"avID_{SOURCEID}\" style=\"width:{WIDTH}px;height:{HEIGHT}px;\" title=\"JoomlaWorks AllVideos Player\"></span>
<script type=\"text/javascript\">
var cnt = document.getElementById(\"avID_{SOURCEID}\");
var src = '{SITEURL}/plugins/content/jw_allvideos/includes/players/wmvplayer/wmvplayer.xaml';
var cfg = {
	file:'{SITEURL}/{FOLDER}/{SOURCE}.wma',
	width:'{WIDTH}',
	height:'{HEIGHT}',
	autostart:'{AUTOPLAY}',
	usefullscreen:'false'
};
var ply = new jeroenwijering.Player(cnt,src,cfg);
</script>
",

to
"wma" => "
<object classid=\"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\" type=\"application/x-oleobject\" style=\"width:{WIDTH}px;height:{HEIGHT}px;\">
	<param name=\"URL\" value=\"{SITEURL}/{FOLDER}/{SOURCE}.wma\" />
	<param name=\"ShowControls\" value=\"1\">
	<param name=\"autoStart\" value=\"{AUTOPLAY}\">
<embed src=\"{SITEURL}/{FOLDER}/{SOURCE}.wma\" style=\"width:{WIDTH}px;height:{HEIGHT}px;\ autoStart=\"{AUTOPLAY}\" type=\"application/x-mplayer2\"/></embed>
</object>
",

Alexis M. Marks<br />YellowWebMonkey Web Design

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum