You can set the preference of playback using the attribute type either as Flash or HTML as shown in the following examples:

  • <cfmediaplayer source="myvideo.mp4" type="html"/>
  • <cfmediaplayer source="myvideo.mp4" type="flash"/>

Assume that the playback is on Internet Explorer 9 or Google Chrome. By default, the value is set to flash.**
cfmediaplayer honors the value you specify only if the browser supports the playback preference. If for example, you specify type as flash and the browser does not have Flash player installed, it falls back to HTML 5.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy