seek to segment borders
expose buffer append action API
update calculation for demand mode get time
Updated Copyright. Fixed end of stream in demand generation / hls mode. Removed extra console calls.
update for seeking progress
Report buffered time relative to the playhead position
HTML expects buffered end time to be reported relative to the "start" of the video but the netstream reports it relative to the playhead position. In the model, add the buffered value coming from the netstream to the current playtime before returning it to javascript.
updates to fix indention and remove console logging for @heff comments on pr #71
fix indent and remove uneeded import references
Expect the provider to keep track of the playhead position
Previously, the position of the playhead was being added onto the buffered time both inside the HTTPVideoProvider and the model. Fixed it so that the playhead position is only added once, inside provider.
Capture seek target in HTTPVideoProvider
Instead of requiring an explicit call into the SWF to set the new starting offset for the netstream time, capture it when seekForSeconds is called in HTTPVideoProvider.
Add endOfStream function
In order to distinguish between just running out of buffer and completing the stream when in data generation mode, it's necessary to signal back to the the HTTPVideoProvider. Media sources uses endOfStream to accomplish this so we're exposing that method on the SWF.
merge fix videojs.as
new compiled swf and updated sandbox w correct url references