Video player
The video player lets you play videos in different formats from external sources. It is included in the Dashboard bundle.
The following video formats are supported. For more information, see Limitations.
- MP4
- OGG
- WEBM
- YouTube
When to use it
The video player is useful when you want to include a video in your application. For example, you want to show a demo or a training video, add a tutorial, or present corporate news.
Adding videos
You can add video player object to a sheet that you are editing. Add or paste a video link into the video object. The video is streamed from a source; it is not uploaded to Qlik Sense. By default, the video format of the link will be auto-detected, the video will not auto-play, and video controls will be available to app consumers.
Do the following:
- In the assets panel, open Custom objects > Dashboard bundle and drag a Video player object to the sheet, or click Add to Sheet.
- Add a video as a URL in the video player object field Add URL, or in the properties panel under Video > URL. You can format the URL field as an expression.
- Autodetect format is default setting and it will adjust accordingly based on the URL. You can also turn off Autodetect, and then select the correct supported video format.
Once you have added the video, you may want to adjust its options.
Setting video options
Video options are set in the Properties pane.
Click Auto play if you want the video to automatically start when viewed in analyzer mode. Auto play is turned off by default. When Auto play is selected, the video starts but it is muted. The app user has to select Unmute to turn the sound on.
Click Hide Controls to turn off video controls in analyzer mode. By default, video controls are visible.
You can add a Poster image. By default, the poster image is turned off. For Source, select an external URL that directs to an image, or add an image from your media library.
If a poster image is selected, the selected image is displayed before the video starts playing. Poster alignment specifies how the poster image will align inside the video player.
You cannot play the video in edit mode. The video restarts when you switch between analyzer mode and edit mode.
In analyzer mode, you start the video with the play button. You can pause, switch between mute and unmute, and view the video in full screen. You can also share the video player object, and Take snapshot.
In edit mode, the right-click context menu provides options for Qlik Sense. In analyzer mode, the context menu provides options for YouTube.
The app developer (edit mode) or app c+onsumer (analyzer mode) must allow YouTube videos to play in Qlik Sense.
Customizing styling
You have a number of styling options available under Appearance in the properties panel.
Click Styling under Appearance > Presentation to further customize the styling of the chart. Sie können Ihre Designs zurücksetzen, indem Sie auf neben den einzelnen Abschnitten klicken. Wenn Sie auf Alle zurücksetzen klicken, werden die Designs für alle verfügbaren Registerkarten im Designfenster zurückgesetzt.
For general information about styling an individual visualization, see Applying custom styling to a visualization.
Anpassen des Texts
Sie können den Text für Titel, Untertitel und Fußnoten unter Darstellung > Allgemein festlegen. Um diese Elemente auszublenden, deaktivieren Sie Titel anzeigen
Die Sichtbarkeit der verschiedenen Bezeichnungen des Diagramms hängt von den diagrammspezifischen Einstellungen und den Anzeigeoptionen der Bezeichnungen ab. Diese können im Eigenschaftsfenster konfiguriert werden.
Sie können das Design des im Diagramm angezeigten Texts ändern.
Gehen Sie folgendermaßen vor:
-
In the properties panel, expand the Appearance section.
-
Under Appearance > Presentation, click Styling.
-
Legen Sie auf der Registerkarte Allgemein die Schriftart, den Hervorhebungsstil, die Schriftgröße und die Farbe der folgenden Textelemente fest:
-
Titel
-
Untertitel
-
Fußnote
-
Customizing the background
You can customize the background of the chart. The background can be set by color and image.
Gehen Sie folgendermaßen vor:
-
In the properties panel, expand the Appearance section.
-
Under Appearance > Presentation, click Styling.
-
On the General tab of the styling panel, you can select a background color (single color or expression). You can also set the background to an image from your media library or from a URL.
When using a background color, use the slider to adjust the opacity of the background.
When using a background image, you can adjust image sizing and position.
Customizing the border and shadow
You can customize the border and shadow of the chart.
Gehen Sie folgendermaßen vor:
-
In the properties panel, expand the Appearance section.
-
Under Appearance > Presentation, click Styling.
-
On the General tab of the styling panel, under Border, adjust the Outline size to increase or decrease the border lines around the chart.
-
Select a color for the border.
-
Adjust the Corner radius to control the roundness of the border.
-
Under Shadow in the General tab, select a shadow size and color. Select None to remove the shadow.
Limitations
The video player has the following limitations:
- Safari does not support OGG and WEBM formats.
- Qlik Sense Desktop cannot play MP4 format due to limitations in Chromium.
- Qlik Sense Client-Managed Mobile on iOS can only play MP4 compressed in H.264 or MPEG-4 format, but not other MP4, OGG and WEBM formats due to limitations in iOS.
- Qlik Sense Client-Managed Mobile offline is not supported for video playing.
- iPhone adds native video controls. It does not use video player controls, therefore Hide Controls will not turn off controls.
- Android does not support OGG format.
- When exporting or printing a sheet that includes a video player object, the video player object will not be included.
- Qlik NPrinting does not support the video player object.