Error handling for if a source doesn't exist?
$sources = '
<div id="myElement">Loading the player...</div>
height: <?php echo $this->height; ?>,
width:<?php echo $this->width; ?>,
flashplayer: "<?php echo ($this->assetsUrl.'/jwplayer.flash.swf');?>",
sources: <?php echo $sources; ?>
In some cases there won't always be a HD file, and possibly a file might be missing.
I've noticed the player will simply break if a video file doesn't exist.
So is it a case of doing PHP checks, or is there some functionality in the player to handle missing files?