ByronChen / html5media

Automatically exported from code.google.com/p/html5media
0 stars 0 forks source link

IE8 innerHTML unspecified error #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Insert player by innerHTML+html5media()
2.Clear the div with innerHTML=""
3.Insert player by innerHTML+html5media()

What is the expected output? What do you see instead?
Expected: audio/video player
What I see: the player only works the first time. The second time I receive a 
javascript unspecified error.

What version of the product are you using? On what operating system?
Windows XP, IE8

Please provide any additional information below.
In Chrome I don't need to use html5media() function. In Firefox, the above 
works. In IE7/IE8 seems like the second time I call html5media() function gives 
the error.

Original issue reported on code.google.com by kan...@gmail.com on 21 Jun 2012 at 7:17

GoogleCodeExporter commented 9 years ago
Hi,

Without a URL showing the code, I can't really help you. HTML5 video 
implementations are buggy, and Flash player embeds are somewhat buggy too. The 
result isn't pretty.

If you could raise this issue on the main project site, and provide a URL 
showing the error, I'll take a look.

Original comment by david.et...@gmail.com on 21 Jun 2012 at 8:23

GoogleCodeExporter commented 9 years ago
It's resolved. <audio> and <video> tags must have the an id (the same for all), 
so when html5media() is invoked the player is "replaced".

Original comment by kan...@gmail.com on 21 Jun 2012 at 8:31

GoogleCodeExporter commented 9 years ago
This is the web: 
http://www.museodelprado.es/investigacion/biblioteca/proyectos-de-investigacion/
el-sonido-de-la-pintura-en-el-museo-del-prado/iconografia-musical-el-sonido-de-l
a-pintura-en-el-museo-del-prado

Original comment by kan...@gmail.com on 21 Jun 2012 at 8:32