The media player is not visible using the IE9 browser under Windows 7. The player is visible in Safari (Mac) and Firefox (Ubuntu). In IE9, when I enable the developer tools (Tools -> developer tools) and refresh the display then the player becomes visible and the video will play properly.
The JS log shows the javascript error: "osmplayer.scroll is not a constructor". It references file osmplayer.scroll.default.js line 20. I am guessing that the error is preventing some jquery processing.

CommentFileSizeAuthor
#4 Screen shot 2012-04-20 at 11.31.50 PM.png133.19 KBtravist
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

travist’s picture

You may be right... I will take a look. Thanks.

benbiles’s picture

no player in IE 9 and no errors.. win 7 64 bit

travist’s picture

Issue tags: +beta blocker

Adding tag 'beta blocker'

travist’s picture

Status: Active » Fixed
FileSize
133.19 KB

I just made some changes and pushed up a fix. This seems to work for me under Windows 7 and IE9. Please let me know if this is fixed for you as well.

mcr168’s picture

Travis,

Thank you for taking a look at this issue and fixing the bug.

At the risk of sounding completely naive, you stated:
"I just made some changes and pushed up a fix."

Is that "fix" the version from the MediaFront drupal modules page:

Other release: 7.x-2.0-alpha3 dated 2012-Apr-15 ?

or,

Development release: 7.x-2.x-dev dated 2012-Apr-21 ?

refman1073’s picture

Unfortunately it is not fixed for me. The javascript error is still there. You should be able to see the javascript error on any platform with any browser. From reading forums it appears that IE9 now stops on error which explains why the player doesn't show. Let me know if you need more info.

mcr168: The "fix" is in the dev version.

refman1073’s picture

Status: Fixed » Active

OK, the issue with the javascript error is gone. My fault! I did not remove the target mediafront directory before copying the updated dev version. However the player still does not show in IE9 until I start the developer tools. Once started, the page displays properly without any errors to the console. If I simply start IE on a blank page, start developer tools, end developer tools and then display the page, it works! I've tried 2 different Windows 7 machines and a Windows XP / IE8 machine and the symptoms are identical.

I think the problem is with the detection of the console in the javascript. Here is some information that may lead to a solution.

http://stackoverflow.com/questions/8095348/website-with-js-doesnt-work-i...

More info
Since I didn't flush the Drupal cache, the old osmplayer.scroll.default.js was still in the HTML. There was no error produced. I flushed the Drupal cache and changed line 2327 (shown below) in the osmplayer.compressed.js and everythings works like a charm.

minplayer.console = {log: function(data) {}};
travist’s picture

Status: Active » Fixed

Thanks for the input! That was actually a HUGE help. I just found that the issue was with the console.log. I just fixed it and pushed it to the latest DEV version. Please test it tomorrow and let me know if this fixes your problem.

Thanks again for the input. Saved me a LOT of time!!!

Travis.

travist’s picture

Just release alpha-4. Should be included in that release.

refman1073’s picture

It works now. Thanks.

mcr168’s picture

Thanks refman1073.

mcr168’s picture

Travis,

The alpha-4 release works for me in IE9. No issues there.

Great teamwork you guys and thank you Travis for a great module.

kenyan’s picture

Version: 7.x-2.0-alpha3 » 7.x-2.0-alpha4

Hey Travist. Kudos for your tireless work on this.
I've just installed alpha 4 (for about the 10th time) but this is still in issue in Internet Explorer 7 and 9 for me. I upgraded from 7 to 9 just to see if the browser version was the problem.

I have 3 videos at:
http://fathersforjustice.org/test/node/1
http://fathersforjustice.org/test/node/2
http://fathersforjustice.org/test/node/3

And I have a views block at http://fathersforjustice.org/test/mediafront
Browser results:
Chrome:
Video plays in nodes 1,2 and 3.
In the playlist at test/mediafront the video will only play the first video in the playlist (video 3). Clicking on the others does nothing for video other than seeming to try load.

IE 9:
Nothing shows in all pages. No video player.

Safari for PC:
Player is visible in nodes 1,2 and 3 but no video loads at all.
At the playlist page /mediafront both player and playlist section show but no video loads and there is no thumbnail.

Firefox
Basically behaves like chrome. The nodes play fine but the one with the playlist (the views block) only plays the first song in the playlist (video 3).
Additionaly, the playlist goes 'crazy' moving up and down when I hover over the last image in the playlist (i've set scroll to 'mouse').

The site is drupal 7 with just the 3 nodes.
Modules running are just the ones needed to run mediafront, views and media (with media youtube, vimeo).

I've set debugger to on but have not seen anything off this setting.

Any pointers would be appreciated.

kenyan’s picture

Status: Fixed » Active

Anyone?
I really need help with this.
Of interest is that mediafront 7x-1.5 works as it should.

travist’s picture

kenyan,

I will get to it when I can. Been kind of busy lately with everything. Not sure why your use case doesn't work, but others say it is working for them, but it may be specific to what you are trying to do. What is the format of video you are testing?

kenyan’s picture

Thanks Travist,
It may be the issue.
All my videos are youtube videos.
I'll try link to regular videos and see if that works.

travist’s picture

Status: Active » Fixed

This is strange. I cannot reproduce. See the image below, which was IE9 on Windows 7, and YouTube. Works as designed.

https://skitch.com/travistidwell/8atcn/windows-7-running

I am thinking that you may have some other script on your site that is failing. Will you please try a clean Drupal 7 install with MediaFront only installed and see if you still have an issue. If not, then this issue is not related to MediaFront.

Thanks,

Travis.

Automatically closed -- issue fixed for 2 weeks with no activity.