javascript - IE10 Video Tag suddenly stopped working -


iv'e got no idea why, ie10 stopped loading video tag on website i'm working on.

here's code i've implemented:

<video id="video_background" preload="auto" autoplay="autoplay" loop="loop" style="width: auto;height: 100%;">  <source src="video/background.mp4"  type="video/mp4"  /> <source src="video/background.ogv"  type="video/ogg"  /> <source src="video/background.webm" type="video/webm" /> <!--[if lt ie 9]>  <object id="video_background_1" type="application/x-shockwave-flash" data="http://player.longtailvideo.com/player.swf" style="width: 100%;height: 100%;"> <param name="movie" value="http://player.longtailvideo.com/player.swf" /> <param name="allowfullscreen" value="true" /> <param name="wmode" value="transparent" /> <param name="flashvars" value="autostart=true&amp;controlbar=over&amp;file=http%3a%2f%2fwww.bloodandtreasure.com%2fgsc%2fvideo%2fbackground.mp4&amp;repeat=always" /> </object>  <![endif]-->  </video> 

here's link website. video works fine in windows media player .mp4 extension.

i have no idea problem is, if has run problem before please let me know worked you.

best regards,

oscar

p.s: i'm going bed , check updates question in morning.

after inspecting website i'm not seeing issue specific video element mentioned in question. i'm able verify video loads , plays in ie10, chrome 28, , firefox 23. however, seeing warning showing in browsers:

<br /><b>warning</b>:  cannot modify header information - headers sent (output started @ /home/bloodand/public_html/gsc/header.php:1) in <b>/home/bloodand/public_html/gsc/db.php</b> on line <b>1</b><br /> 

in ie10 outputting additional errors in console. believe due fact above warning being entered html outside of <html> tag.

html1513: "<html>" tag found. 1 "<html>" tag should exist per document. gsc, line 4 character 1

html1503: unexpected start tag. gsc, line 6 character 1

html1512: unmatched end tag. gsc, line 34 character 1

html1514: "<body>" tag found. 1 "<body>" tag should exist per document. gsc, line 36 character 1

i suggest looking modifying headers. may fix issues you're seeing. also, aware have repeating javascript error:

uncaught typeerror: cannot call method 'replace' of undefined header.js 317


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -