Skip to content

Commit

Permalink
chore(web): format web class
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Feb 16, 2024
1 parent b4aaa6f commit c68d602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/platform/apivideo_player_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class ApiVideoPlayerPlugin extends ApiVideoPlayerPlatform {
void injectScripts() {
document.body?.nodes.add(ScriptElement()
..type = 'text/javascript'
..innerHtml = '''
..innerHtml = '''
// fix JS module loading - https://github.com/flutter/flutter/issues/126713
if (typeof window.define == 'function') {
delete window.define.amd;
Expand Down

0 comments on commit c68d602

Please sign in to comment.