           clip_span.css 'width', end_percent-start_percent+'%'
           $('.mejs-time-total').append clip_span
         if _this.player.options.displayMarkers
-          duration = _this.stream_info.duration 
+          duration = _this.stream_info.duration
           scrubber = $('.mejs-time-rail')
           scrubber.css('position', 'relative')
           $('.row.marker').each (i,value) ->

    features = (feature for feature in features when feature?)
    player_options =
      mode: 'auto_plugin'
      pluginPath: '/assets/mediaelement_rails/'
      usePluginFullScreen: false
      thumbnailSelectorUpdateURL: '/update-url'
      thumbnailSelectorEnabled: true

#   specific language governing permissions and limitations under the License.
# ---  END LICENSE_HEADER BLOCK  ---



class AvalonPlayer
  constructor: (container, stream_info, opts) ->
