Open
Conversation
…uld be played is set to playbackparameter instance. The same instance is been set to exoplayer.
Value can be 1x, 2x and accordingly speed of video will be set. To watch video in slow motion set value of speed less than 1.0 Similary set value more than 1.0 to watch the playback in high speed. By Default speed of video will be 1.0 which is normal speed.
…uld be played is set to playbackparameter instance. The same instance is been set to exoplayer.
Value can be 1x, 2x and accordingly speed of video will be set. To watch video in slow motion set value of speed less than 1.0 Similary set value more than 1.0 to watch the playback in high speed. By Default speed of video will be 1.0 which is normal speed.
Implemented playback speed on iOS
…uld be played is set to playbackparameter instance. The same instance is been set to exoplayer.
Value can be 1x, 2x and accordingly speed of video will be set. To watch video in slow motion set value of speed less than 1.0 Similary set value more than 1.0 to watch the playback in high speed. By Default speed of video will be 1.0 which is normal speed.
- _applyPlayBackSpeed method renamed to _applySpeed
Renamed setPlaybackSpeed to setSpeed on iOS
- Bumped min flutter version to 1.2.0. - Added template type parameter for invokeMethod calls. - Updated invokeMethod and invokeMethod to using invokeListMethod and invokeMapMethod if any.
[video_player] add type params for invokeMethod calls.
- Improve comment on why setSpeed is not called when the video is not playing
Throw an error if speed is unsupported on iOS + better documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?