Skip to content

Commit b3b6901

Browse files
committed
Address review comments part 5
1 parent 29313a1 commit b3b6901

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/ff-concepts/file-handling/displaying-media.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ To handle scenarios where media takes time to load or fails to load, you can set
3636

3737
### Asset
3838

39-
You can also display media files uploaded to your [**Assets**](../../generated-code/directory-structure.md#assets). Assets are resources such as images, videos, documents, fonts, and other files that you include locally in your project. To upload assets, click on **Media Assets** in the left-side navigation menu and add files directly from your device. Alternatively, you can directly upload and display files when configuring media widgets by clicking the upload icon.
39+
You can also display media files uploaded to your **Assets**. Assets are resources such as images, videos, documents, fonts, and other files that you include locally in your project. To upload assets, click on **Media Assets** in the left-side navigation menu and add files directly from your device. Alternatively, you can directly upload and display files when configuring media widgets by clicking the upload icon.
40+
41+
:::tip
42+
For more details on how assets are stored in your project, see the directory [**Assets**](../../generated-code/directory-structure.md#assets) in the generated code.
43+
:::
44+
45+
4046

4147
![select-from-assets](imgs/select-from-assets.avif)
4248

@@ -51,7 +57,7 @@ You can also access media files within your app that are stored temporarily in y
5157
The **AudioPlayer** widget allows you to integrate audio playback into your apps. You can play audio from both uploaded assets and external URLs. Refer to the [**Displaying Media**](#media-types) section for more details on accessing media.
5258

5359
:::tip[Generated Code]
54-
The AudioPlayer uses the [**assets_audio_player**](https://pub.dev/packages/assets_audio_player) package for mobile and [**assets_audio_player_web**](https://pub.dev/packages/assets_audio_player_web) for web.
60+
The AudioPlayer widget in FlutterFlow uses the [**assets_audio_player**](https://pub.dev/packages/assets_audio_player) package for audio playback.
5561
:::
5662

5763
**Customization Options**
@@ -189,12 +195,7 @@ This action is enabled only when you have added a [**Play Sound**](#play-sound-
189195
The **VideoPlayer** widget is used to show a video from uploaded assets or the URL link. The VideoPlayer widget can play various video formats such as MP4, MOV, WAV, MPEG, and JPEG motion photos. Refer to the [**Displaying Media**](#media-types) section for more details on accessing media.
190196

191197
:::tip[Generated Code]
192-
The VideoPlayer uses several packages to ensure reliable video playback across different platforms:
193-
194-
- [**video_player**](https://pub.dev/packages/video_player): Provides core functionality for video playback from assets or network sources.
195-
- [**video_player_android**](https://pub.dev/packages/video_player_android): Ensures smooth playback specifically for Android devices.
196-
- [**video_player_avfoundation**](https://pub.dev/packages/video_player_avfoundation): Integrates with Apple's AVFoundation framework for playback on iOS devices.
197-
- [**video_player_web**](https://pub.dev/packages/video_player_web): Enables video playback support for web browsers.
198+
The VideoPlayer uses the [**video_player**](https://pub.dev/packages/video_player) package for reliable video playback across different platforms.
198199
:::
199200

200201
**Customization Options**

0 commit comments

Comments
 (0)