Skip to content

Commit 35ff307

Browse files
authored
Merge pull request Sub6Resources#1046 from vrtdev/feature/release-300-alpha4
Release 3.0.0-alpha.4 with compilation fix in video support
2 parents 3b5a3c5 + 79d10e9 commit 35ff307

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

packages/flutter_html_video/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [3.0.0-alpha.4] - April 20, 2022:
2+
* Fixed compilation issue
3+
14
## [3.0.0-alpha.3] - April 14, 2022:
25
* Fixed crash when iframe or video tags used unsupported/incorrect height or width
36

packages/flutter_html_video/lib/flutter_html_video.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class _VideoWidgetState extends State<VideoWidget> {
3838
@override
3939
void initState() {
4040
final attributes = widget.context.tree.element?.attributes ?? {};
41-
sources = <String?>[
41+
final sources = <String?>[
4242
if (attributes['src'] != null)
4343
attributes['src'],
4444
...ReplacedElement.parseMediaSources(widget.context.tree.element!.children),

packages/flutter_html_video/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_html_video
22
description: Video widget for flutter_html.
3-
version: 3.0.0-alpha.3
3+
version: 3.0.0-alpha.4
44
homepage: https://github.com/Sub6Resources/flutter_html
55

66
environment:

0 commit comments

Comments
 (0)