You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ff-concepts/file-handling/displaying-media.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,13 @@ To handle scenarios where media takes time to load or fails to load, you can set
36
36
37
37
### Asset
38
38
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.
@@ -51,7 +57,7 @@ You can also access media files within your app that are stored temporarily in y
51
57
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.
52
58
53
59
:::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.
55
61
:::
56
62
57
63
**Customization Options**
@@ -189,12 +195,7 @@ This action is enabled only when you have added a [**Play Sound**](#play-sound-
189
195
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.
190
196
191
197
:::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.
0 commit comments