I spent quite a lot of time trying to figure out why video embedded like here: starts playing automatically once the page is loaded in FireFox but cannot do autoplay in Webkit based browsers. This only happened on some random pages. So far I was unable to find the cause. I suspect some unclosed tags or extensive JS created by
Tag: safari
Safari Developer Tools: How to Preserve Console Log Upon Navigation?
When using Safari Web Inspector to read the JavaScript console output, the log is reset upon navigation i.e. going from page index.html to mail.html clears the console output. In the Chrome Developer Tools, I can easily preserve the log by right clicking on the console space and selecting Preserve Log Upon Navigation. With this option, console log output remains intact
Video tag not working in Safari now
The code below makes the video tag work in IE9, Chrome and Firefox. However I cant get it to work in Safari So for Safari, I tried this, Still doesn’t work. I did paste the url directly into a Safari address bar and it did bring back the video and play it. Any ideas on how to get the html5
removeEventListener on anonymous functions in JavaScript
I have an object that has methods in it. These methods are put into the object inside an anonymous function. It looks like this: (there is a lot more code, but this is enough to show the problem) Now I want to stop the event listener in some cases. Therefore I am trying to do a removeEventListener but I can’t
How do I hide the address bar on iPhone?
How do I hide the address bar on iPhone? I tried two different methods so far: The scroll down one pixel trick with JavaScript on page load And the following meta tags: Also this: I am completely confused. PS: Oh, I forgot a really important thing: the web page itself does not overflow the browser window. It probably is the