abdelaziz-mahdy / flutter_meedu_videoplayer

Cross-Platform Video Player for flutter
https://abdelaziz-mahdy.github.io/flutter_meedu_videoplayer/
MIT License
132 stars 69 forks source link

assets video not playing on macOS #52

Closed Bullets-jyr closed 1 year ago

Bullets-jyr commented 1 year ago

assets video not playing on macOS please, check this issue _meeduPlayerController.setDataSource( DataSource( type: DataSourceType.asset, source: "assets/videos/sample1.mp4", ), autoplay: true, );

abdelaziz-mahdy commented 1 year ago

i am really sry, for some reason i didnt see your issue

can you explain more why its not working? what the error do you get?

abdelaziz-mahdy commented 1 year ago

does adding asset://

_meeduPlayerController.setDataSource(
DataSource(
type: DataSourceType.asset,
source: "asset://assets/videos/sample1.mp4",
),
autoplay: true,
);

fix the issue?

if yes let me know

Bullets-jyr commented 1 year ago

thank you It's resolved. I have one more question. In using the flutter_meedu_videoplayer library, I am in a situation where I must customize the video control panel. Is it possible to make it myself instead of the video control panel you made and apply it to the flutter_meedu_videoplayer library and operate normally?

abdelaziz-mahdy commented 1 year ago

thank you It's resolved. I have one more question. In using the flutter_meedu_videoplayer library, I am in a situation where I must customize the video control panel. Is it possible to make it myself instead of the video control panel you made and apply it to the flutter_meedu_videoplayer library and operate normally?

may i ask you, what are the customization you require so i try to update the code if its not already customizable.