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
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ You can access media files within your app without uploading them anywhere. For
49
49
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.
50
50
51
51
:::tip[Generated Code]
52
-
The AudioPlayer in FlutterFlow 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.
52
+
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.
53
53
:::
54
54
55
55
**Customization Options**
@@ -186,8 +186,8 @@ This action is enabled only when you have added a [**Play Sound**](#play-sound-
186
186
187
187
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.
188
188
189
-
:::tip[]
190
-
The VideoPlayer in FlutterFlow uses several packages to ensure reliable video playback across different platforms:
189
+
:::tip[Generated Code]
190
+
The VideoPlayer uses several packages to ensure reliable video playback across different platforms:
191
191
192
192
-[**video_player**](https://pub.dev/packages/video_player): Provides core functionality for video playback from assets or network sources.
193
193
-[**video_player_android**](https://pub.dev/packages/video_player_android): Ensures smooth playback specifically for Android devices.
@@ -212,6 +212,10 @@ The **VideoPlayer** widget includes several options to align with your app's des
212
212
213
213
The **YouTubePlayer** widget in FlutterFlow allows you to integrate and play YouTube videos within your app. It offers customizable playback options and an intuitive interface for enhancing the user experience.
214
214
215
+
:::tip[Generated Code]
216
+
The YoutubePlayer uses a custom version of the [**youtube_player_iframe**](https://pub.dev/packages/youtube_player_iframe) package, hosted on FlutterFlow's GitHub repository.
217
+
:::
218
+
215
219
**Customization Options**
216
220
217
221
-**Loop Video:** When enabled, the video will automatically replay after it finishes.
@@ -225,6 +229,10 @@ The **YouTubePlayer** widget in FlutterFlow allows you to integrate and play Y
225
229
226
230
In FlutterFlow, the **PdfViewer** widget enables you to display PDF files within your app, supporting both network URLs and locally uploaded assets. Refer to the [**Displaying Media**](#media-types) section for more details.
227
231
232
+
:::tip[Generated Code]
233
+
The PdfViewer in FlutterFlow uses the [**pdfx**](https://pub.dev/packages/pdfx) package for rendering PDFs.
234
+
:::
235
+
228
236
**Customization Options**
229
237
230
238
-**Horizontal Scroll:** By default, the PdfViewer allows vertical scrolling through pages. Enable this option to allow horizontal scrolling.
2. You should see a terminal at the bottom of the screen. If your project ID is not displayed in yellow, click the **down arrow** (🔽) next to the project name and select the correct Firebase project.
Copy file name to clipboardExpand all lines: docs/ff-concepts/file-handling/download-file.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ The **Download File** action allows you to enable users to download or save file
50
50
To add a Download File action, select the **Widget** (e.g., button or any interactive widget) where you want users to initiate the file download and set the **Source** to one of the following.
51
51
52
52
-**From URL**: Use this option for downloading files that are accessible through a direct link and specify the URL of the file that should be downloaded.
53
-
-**From File (Bytes)**: Use this option when the file is uploaded to the device using the [Local Upload (Widget State)](#). You can access the file via ***Widget State > Uploaded Local File***.
53
+
-**From File (Bytes)**: Use this option when the file is uploaded to the device using the [Local Upload (Widget State)](uploading-files.md#local-upload-widget-state). You can access the file via ***Widget State > Uploaded Local File***.
54
54
55
55
Optionally, you can specify a **Filename** to be used when the file is downloaded.
0 commit comments