Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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