Closed Lakshmana515 closed 11 years ago
That does sound like an IE bug.
You can force the Flash player by following these instructions:
https://github.com/etianen/html5media/wiki/api#forcing-the-flash-fallback
There's no official list of tested mobile browsers and devices, as it depends on the video file and the embed method used. Theoretically, all mobile and desktop browsers are supported, so long as older browsers have flash. More details can be found here:
http://blog.etianen.com/blog/2013/05/19/html5-video-is-hard/
Ok cool, but..
When i force the flash fallback for all browsersd it works fine, flash player in ie9, but when i force fall back for only ie i get a javascript error in ie9 and the player doesn't display.
Error Message: '$' is undefined
I also notified IE development about the bug.
Thanks.
Ah, that example code snippet used jQuery to detect IE. So you'll need to include jQuery in your page to do it.
Alternatively, something like this would work, without requiring jQuery:
return (/MSIE (\d+.\d+);/.test(navigator.userAgent));
On 5 June 2013 11:13, Lakshmana515 notifications@github.com wrote:
Ok cool, but..
When i force the flash fallback for all browsersd it works fine, flash player in ie9, but when i force fall back for only ie i get a javascript error in ie9 and the player doesn't display.
Error Message: '$' is undefined
I also notified IE development about the bug.
Thanks.
— Reply to this email directly or view it on GitHubhttps://github.com/etianen/html5media/issues/37#issuecomment-18966804 .
Oh sorry, my mistake..
return (/MSIE (\d+.\d+);/.test(navigator.userAgent)); works fine.
Using the jquery method with jquery 1.9.1 i still got an error.
Error: Unable to get value of the property 'msie': object is null or undefined
But works fine with jquery 1.8.2
Yeah, jQuery doesn't do browser sniffing any more.
I've just updated with wiki page with the new, non-jquery code.
https://github.com/etianen/html5media/wiki/API
On 5 June 2013 11:54, Lakshmana515 notifications@github.com wrote:
Oh sorry, my mistake..
return (/MSIE (\d+.\d+);/.test(navigator.userAgent)); works fine.
Using the jquery method with jquery 1.9.1 i still got an error.
Error: Unable to get value of the property 'msie': object is null or undefined
But works fine with jquery 1.8.2
— Reply to this email directly or view it on GitHubhttps://github.com/etianen/html5media/issues/37#issuecomment-18968494 .
The audio controls don't display in ie9 when preload is set to none. IE9 doesn't display the native player. I think its an ie bug, the player is actually there and you can right click on it and you get a popup which gives the option to play and pause., and it plays.. its just not visible.
If preload is set to auto or metadata its visible.
Do you know a workaround for this? If it loaded the flashplayer in ie9 that would be ok i think..
I like the simplicity of html5media, and think it should be good if things weren't so complex these days.
Do you have a list of tested browsers/os and mobile devices?
Thanks.