Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Flash handling #15

Merged
merged 3 commits into from
Jan 30, 2018
Merged

Remove Flash handling #15

merged 3 commits into from
Jan 30, 2018

Conversation

forbesjo
Copy link
Contributor

@forbesjo forbesjo commented Jan 19, 2018

Description

This removes Flash support from the project.

Specific Changes proposed

Don't have a separate Flash mode source handler, move contrib-mse into this project. Another PR will handle refactoring the contrib-mse code to remove unneeded Flash workarounds.

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Unit Tests updated or fixed
    • Docs/guides updated
  • Reviewed by Two Core Contributors

@forbesjo forbesjo force-pushed the remove-flash branch 2 times, most recently from 8df4a06 to 4675aca Compare January 22, 2018 20:14
@forbesjo forbesjo changed the title Remove Flash handling (wip) Remove Flash handling Jan 22, 2018
@forbesjo forbesjo added this to the 1.0.0 milestone Jan 22, 2018
@forbesjo forbesjo force-pushed the remove-flash branch 4 times, most recently from ef714de to 659099a Compare January 25, 2018 00:21
README.md Outdated
[videojs-flash](https://github.com/videojs/videojs-flash) on your page before including
videojs-http-streaming
### Flash Support
This plugin has no flash support. Instead, it is recommended that users use flash support is provided
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is recommended that users use flash support is provided through the

This is a confusing sentence

Copy link
Contributor Author

@forbesjo forbesjo Jan 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll clean that up

@@ -252,6 +252,7 @@ const calculateBufferedPercent = function(adjustedRange,
// overlap duration so that it actually starts at the beginning of referenceRange
// by including the difference between the two Range's durations
// This is a work around for the way Flash has no buffer before currentTime
// TODO: see if this is still necessary since Flash isn't included
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This entire function can probably just go. There are a few functions in this file that I don't think have been used since simple fetcher logic was implemented

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can do this sort of cleanup in another PR though

@@ -139,7 +139,7 @@ QUnit.test('creates appropriate PlaylistLoader for sourceType', function(assert)
'created a dash playlist loader');
});

QUnit.test('resets SegmentLoader when seeking in flash for both in and out of buffer',
QUnit.test('resets SegmentLoader when seeking for both in and out of buffer',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resets SegmentLoader when seeking for both in and out of buffer

@forbesjo forbesjo merged commit 31af672 into videojs:master Jan 30, 2018
@forbesjo forbesjo deleted the remove-flash branch January 30, 2018 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants