BreadcrumbsHome / JPlayer – Change Default Solution Based on Browser Type
JPlayer – Change Default Solution Based on Browser Type
Last Updated on Saturday, 20 October 2012 12:29 Written by DarkKnightH20 Saturday, 20 October 2012 12:22
Though this will likely help nobody, I thought I’d post this anyway.
I recently was installing JPlayer on a website and found that when the default solution was HTML / HTML5, the MP4 / M4V video being played would randomly stop after a certain amount of seconds. Similarly, Firefox had the same issue.
This was fixed by making FLASH the default solution, but doing that caused the video to be black / not show up for Internet Explorer — IE10, IE9, IE8, and IE7 — you would hear the audio but not see the video.
So I was in a bind. The default solution did not work for both browsers and would cause one to not be compatible.
Also in this version, I made JPlayer AutoPlay / AutoStart the video AND the volume is set to 40% (0.4) on load.
Pretty simple edits, but it can definitely help to customize JPlayer to your needs.