FragmentLoader.as: remove magic constants
FLEXPATH variable when building plus docs

Just a micro change to make FLEXPATH a variable when building and
making life a bit easier (with building docs included) and update docs
support for video.js 4.6 to 4.8
player: expose average duration
Merge pull request #94 from mediastream/master

FLEXPATH variable when building plus docs
flashlsOSMF.swf: fix bitrate computation
related to #97
Merge branch 'master' of https://github.com/mangui/flashls
flashlsFlowPlayer.swf : dispatch FINISH event in a different way
mimic the way it is dispatched in other StreamProvider. refer to https://github.com/flowplayer/flash/blob/1caea54d3e7fa66b6496d556998052507a6d05a4/plugins/rtmp/src/actionscript/org/flowplayer/rtmp/RTMPStreamProvider.as#L148 for example
related to https://github.com/mangui/flashls/issues/95
flashlsFlowPlayer.swf: support autoPlay: false, autoBuffering: true
related to https://github.com/mangui/flashls/issues/104
revert https://github.com/mangui/flashls/commit/0d401c2f00501c42ae0fd50b322ac524c44703aa
it is introducing regression on adaptive playlists ...
related to https://github.com/mangui/flashls/issues/96
related to https://github.com/mangui/flashls/issues/99
prevent RangeError: Error #1125: The index 0 is out of range 0 when loading a playlist that does not contain any fragment
fix #105
flashlsFlowPlayer.swf: allow pause of live streams
related to https://github.com/mangui/flashls/issues/106
trim white space in URL, if any
fix #107
Adding ability to specify initial starting bitrate

Github: https://github.com/mangui/flashls/issues/63
Merge pull request #108 from aneebq/feature-start-from-bitrate

Adding ability to specify initial starting bitrate
Updating README to include startFromBitrate
Merge pull request #110 from aneebq/feature-update-readme

Updating README to include startFromBitrate
fix macroblocks when playing http://panopto-public-scratch.s3.amazonaws.com/21762/master.m3u8
also inject AUD and SEI NAL units into NetStream.
related to #101
support HLS time metadata carried in PES packet
we look for PID with stream type = 0x15 in PMT as documented in https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/HTTP_Live_Streaming_Metadata_Spec/HTTP_Live_Streaming_Metadata_Spec.pdf
HLSEvent.ID3_UPDATED will be triggered with corresponding ID3 tag.
related to https://github.com/mangui/flashls/issues/76
update README.md
related to #76
update swf
related to #76