Skip to content

Commit

Permalink
Merge pull request #1046 from vrtdev/feature/release-300-alpha4
Browse files Browse the repository at this point in the history
Release 3.0.0-alpha.4 with compilation fix in video support
  • Loading branch information
erickok authored Apr 20, 2022
2 parents 3b5a3c5 + 79d10e9 commit 35ff307
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/flutter_html_video/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [3.0.0-alpha.4] - April 20, 2022:
* Fixed compilation issue

## [3.0.0-alpha.3] - April 14, 2022:
* Fixed crash when iframe or video tags used unsupported/incorrect height or width

Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_html_video/lib/flutter_html_video.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class _VideoWidgetState extends State<VideoWidget> {
@override
void initState() {
final attributes = widget.context.tree.element?.attributes ?? {};
sources = <String?>[
final sources = <String?>[
if (attributes['src'] != null)
attributes['src'],
...ReplacedElement.parseMediaSources(widget.context.tree.element!.children),
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_html_video/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_html_video
description: Video widget for flutter_html.
version: 3.0.0-alpha.3
version: 3.0.0-alpha.4
homepage: https://github.com/Sub6Resources/flutter_html

environment:
Expand Down

0 comments on commit 35ff307

Please sign in to comment.