Processing
 

YouTube IFrame Api stopped working in IE8 in August 201

31/08/2016 10:52#1

bluesky

Member

Joined at: 6 months ago

Post: 1

Thank: 0

Thanked: 0

the YouTube IFrame API stopped working in Internet Explorer 8 in August 2016. Please try the code below (just copy and paste it in a html page in your local server). It works fine in all browsers except IE8.

This is the error in IE8

Could you please be able to suggest a solution or workaround? Highly appreciated.

<!DOCTYPE html> <html> <head> <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="0" /> <meta id="viewport" name="viewport" content="initial-scale=1.0" />  <script type="text/javascript" src="https://www.youtube.com/iframe_api"></script> <title></title> </head> <body onload='frmHelpVideo_startup();'> <form method="POST" action=''>     <div>LAUNCHING PLAYER IN 5 SECONDS (IT FAILS IN IE8. HOW TO FIX?) . . . </div>     <div id='diviframeVideoHelp'></div> </form> </body> <script type='text/javascript'> var playerHelp = null; function frmHelpVideo_startup(){     window.setTimeout(function(){frmHelpVideo_player_init();}, 5000); } function frmHelpVideo_player_init(){     playerHelp = new YT.Player  ('diviframeVideoHelp', {         playerVars: {controls: 1, showInfo:0},         events: {'onReady': Player_help_event_handler_ready, 'onStateChange': Player_help_event_handler_state_change, 'onError': Player_help_event_handler_error}         }     ); } function Player_help_event_handler_ready(event){     playerHelp.loadVideoById('1Ugle4aIous'); } function Player_help_event_handler_state_change(event){ }  function Player_help_event_handler_error(event){ } </script> </html> 
Similar articles

IE9 dosen't support my Button Tag

6 months ago - Reply: 0 - Views: 19

SSRS 2016 Web protal in IE8

6 months ago - Reply: 0 - Views: 23

how to handle @keyframes not supported by ie9?

6 months ago - Reply: 0 - Views: 5

Detect Windows XP in Firefox with JS

6 months ago - Reply: 1 - Views: 48

IE8 Not showing divs with floats

6 months ago - Reply: 2 - Views: 131

Including ECMA 5 script in IE8

6 months ago - Reply: 1 - Views: 99

XDomainRequest does not work in ie8 & ie9

6 months ago - Reply: 0 - Views: 12

How to minify angular.js?

7 months ago - Reply: 1 - Views: 33

VBA and IE8 - scrape text buried in table

7 months ago - Reply: 1 - Views: 41

Detect http satus IE10

7 months ago - Reply: 0 - Views: 8

how to compress angular.js?

7 months ago - Reply: 0 - Views: 4

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re