Skip to content

Commit 1a23726

Browse files
committed
Address review comments part 4
1 parent 8d8f0a1 commit 1a23726

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can access media files within your app without uploading them anywhere. For
4949
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.
5050

5151
:::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.
5353
:::
5454

5555
**Customization Options**
@@ -186,8 +186,8 @@ This action is enabled only when you have added a [**Play Sound**](#play-sound-
186186

187187
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.
188188

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:
191191

192192
- [**video_player**](https://pub.dev/packages/video_player): Provides core functionality for video playback from assets or network sources.
193193
- [**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
212212

213213
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.
214214

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+
215219
**Customization Options**
216220

217221
- **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
225229

226230
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.
227231

232+
:::tip[Generated Code]
233+
The PdfViewer in FlutterFlow uses the [**pdfx**](https://pub.dev/packages/pdfx) package for rendering PDFs.
234+
:::
235+
228236
**Customization Options**
229237

230238
- **Horizontal Scroll:** By default, the PdfViewer allows vertical scrolling through pages. Enable this option to allow horizontal scrolling.
@@ -257,7 +265,7 @@ https://console.cloud.google.com/home/dashboard?cloudshell=true&project=FIREBASE
257265
1. If prompted, click **Continue**.
258266
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.
259267

260-
![cors-2](imgs/cors-2.png)
268+
![cloud-shell](imgs/cloud-shell.avif)
261269

262270
**Step 3: Run the CORS Configuration Command**
263271

docs/ff-concepts/file-handling/download-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The **Download File** action allows you to enable users to download or save file
5050
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.
5151

5252
- **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***.
5454

5555
Optionally, you can specify a **Filename** to be used when the file is downloaded.
5656

Binary file not shown.

0 commit comments

Comments
 (0)