Wednesday 9 October 2013

Playing Youtube on iPad with HTML 5

There is this problem I am facing recently on my iPad while viewing youtube videos either in chrome or safari browser
- Video seek doesn't work
- If I try to move the video cursor video immediately stops playing and page needs to be reloaded
- And time remaining for the video is always at 0:00

This issue can be solved if video is viewed using HTML5
To enable browser to render video as HTML 5 element just append this string ";html=5" after the video ID

For example
if you are viewing some video which has URL like below

https://www.youtube.com/watch?v=AeqSGEYSeTI

then just need to append html5 parameter as below

https://www.youtube.com/watch?v=AeqSGEYSeTI;html5=1

Hope this solves most of the youtube problems for you on iPad

Note:
The video will start playing in HTML5 if it is available in that mode otherwise it will fallback to flash mode Tags;
Youtube seek not workgin on IPad, youtube not working on iPad, youtube always goes back to 0:00, youtube very slow on iPad, cannot play youtube video in chrome or safari on iPad