By using a tiny looping silent video with the new
playsinline attribute we can keep the screen awake for as long as we like.
Try it, leave your iPhone with this page open and watch as it magically stays awake.
View source to see the video element
Back to original article