djeddi-yacine / player_js

A new Flutter Package that make the Video in the web mush Easier
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Cannot make it work #3

Open pedraohenrique opened 7 months ago

pedraohenrique commented 7 months ago

Hi! Is this plugin still working? I've follow the instructions but the video doesn't appear in the app. Looking at the console, I'm getting the error:

errors.dart:297 Uncaught (in promise) Error: NoSuchMethodError: 'setupPlayer'
method not found
Receiver: Instance of 'Window'
Arguments: ["http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4", "player-58609666", "[ar]https://example/arabic.srt,[en]https://example/english.srt,"]

I've placed the script tag in the head and in the body of the index.html and got the same result.

Could you point me, please, what could be wrong?

djeddi-yacine commented 7 months ago

Hi! Is this plugin still working? I've follow the instructions but the video doesn't appear in the app. Looking at the console, I'm getting the error:

errors.dart:297 Uncaught (in promise) Error: NoSuchMethodError: 'setupPlayer'
method not found
Receiver: Instance of 'Window'
Arguments: ["http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4", "player-58609666", "[ar]https://example/arabic.srt,[en]https://example/english.srt,"]

I've placed the script tag in the head and in the body of the index.html and got the same result.

Could you point me, please, what could be wrong?

Hi.

I have a year in which I did not repair the plugin. I think it doesn't work anymore with the latest dart version sorry 😞.

But you can easily fork it and edit it to make it fit your needs.