I’m using IE9. I go to my webpage that I have a youtube jquery plugin installed and am using to load youtube videos into a player.
The bizarre thing that i am encountering is when i open the browser (IE9), the player doesnt work, meaning when i click a thumbnail it doesnt load and play the player like all of the browsers do.
The tricky thing I’m seeing is that when i open IE9 and then open the developer tools by pressing F12, magically everything begins to work.
My questions is what exactly happens you open the developer tools in IE9? How does it change the browser and how can i force this change on page load?
The reason for this is that the ‘console’ object is not set when the console is not open yet, so it will fail on calling a method on an object that is ‘undefined’
omg!!! i have been pulling my hair over this issue – that is sooooo freakin whack! But thank you for pointing it out to me. removing the console.log lines in it makes it magically work.