I am unable to get mp4 videos to load using the OSM Player in IE8 on Windows 7. The following error results
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.3; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Wed, 23 May 2012 19:31:18 UTCMessage: Object doesn't support this property or method
Line: 32
Char: 300
Code: 0
URI: http://example.com/sites/example.com/modules/mediafront/players/osmplaye...
which points to this line
(b||this.scroller).addEventListener(a,this,!!c)
The mp4 file plays everywhere I have tried (Safari, IE9). In IE8, the video should use the Flash fallback. The video also loads and plays fine when using JWPlayer as the Flash player. If it helps, I get the same error in IE9 when using the F12 developer tools to put the Document Mode into IE8 standards.
Comments
Comment #1
jlholmes CreditAttribution: jlholmes commentedTo follow up a little more on this issue, it is the variable c that is undefined in the line
(b||this.scroller).addEventListener(a,this,!!c)
according to the Developer Tools debugger.
Comment #2
cibson CreditAttribution: cibson commentedSame problem here
Comment #3
travist CreditAttribution: travist commentedI am pretty sure I committed a fix for this issue. Please let me know if the latest DEV works for you.
Thanks,
Travis.
Comment #4
jlholmes CreditAttribution: jlholmes commentedThe May 29 dev version fixes this problem for me. Our mp4 video is now displayed along with sound on IE8 using the Flash fallback. IE9 continues to work with HTML5 video.
Thank you, Travist!
Comment #5
jlholmes CreditAttribution: jlholmes commentedI spoke too soon.
I initially installed the new dev version on my development site. Everything seemed fine.
I then tried it on my staging server. After the installation the site cache was flushed. Not only do IE8 videos not work (audio only), but IE9 now also plays only the audio and not the video. No combination of Browser Mode or Document Mode in the Developer Tools helps. So, for me, things are now worse as IE9 does not play the video.
Back on my development site, I get the same results after flushing the cache: audio only in IE9 and IE8.
The script bug that prevented IE8 from playing video with the Flash fallback is gone.
Comment #6
cibson CreditAttribution: cibson commentedNow it works.
Thanks a lot!
Comment #7
travist CreditAttribution: travist commentedSo, I am confused.... @jlholmes, I may need to get access to the media you are testing so that I can determine if it is the media formats that you are struggling with and also be able to reproduce the error you are seeing.
Comment #8
jlholmes CreditAttribution: jlholmes commentedI have been doing some more testing and reviewing of logs to try to determine what was going on. I am ready to declare that the problem I was seeing was not due to MediaFront. [I believe that some external JavaScript may have been the culprit (HTML5 'shim' code from Goggle commonly used to add HTML5 features to or gracefully degrade older browsers)]. After several theme switches, restarts of Windows, much browser cache clearing, I am able today to get the video to play on IE9 with HTML5 video and IE8 with Flash fall back on both development and staging platforms.
Sorry for the diversion. Many thanks for MediaFront. I hope to MediaFront 2.0 into production soon and am now seeing no obstacles in my use case to doing so.