HTML5 compatibility with our Flash players

by randall on February 17, 2011, under Development, HTML5

Interested in using an HTML5-capable player on mobile devices like the iPhone, iPad, or Android devices? We’ve just unveiled this new script that works with Castfire Flash embeds to turn them into HTML5-friendly goodness.

Simply add this code to the header of your page, and you’re good to go:

<script type="text/javascript" src="http://static.castfire.com/media/js/html5ify.min.js"></script>
	<script>
		Castfire.html5ify({
			ios_ext: "myios.m3u8", // Profile for iPhone, iPod touch, iPad
			h264_ext: "foo.m4v" // Profile for Android, webOS, Blackberry
		});
	</script>

Any questions? Hit up support@castfire.com and we’ll answer them for you, or leave a comment on this post.