ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Multimedia control
  • Overview
  • Control in a WINDEV and WINDEV Mobile window
  • Creating a Multimedia control
  • Handling a Multimedia control
  • Remarks
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview

Control in a WINDEV and WINDEV Mobile window

The Multimedia control is used to play media files.
WINDEV On a PC, you'll need to have the following installed: Windows Media Player, a recent version of DirectX and the codecs required to play video files.. The videos cannot be played if the necessary codecs are not installed.
Android In Android, the Multimedia control must be used to play the Video files. To play the audio files, use Sound.
WEBDEV - Server codeWEBDEV - Browser code In a site, we recommend that you use the MP4 format (supported by all the browsers in HTML5 standard). The former formats require the setup of plugins not supported by some browsers for security reasons. For more details on the Multimedia control in a WEBDEV website, see The Multimedia control (WEBDEV).
Creating a Multimedia control
WINDEVWINDEV Mobile To create a Multimedia control in a window:
  1. On the "Creation" tab, in the "Graphic controls" group:
    • WINDEV expand "Video and capture" and select "Multimedia".
    • WINDEV Mobile click "Multimedia".
  2. Click at the desired location to create the control. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu.
WEBDEV - Server code To create a Multimedia control in a page:
  1. On the "Creation" tab, in the "Usual controls" group, expand "Image" and select "Multimedia control".
  2. Click where you want to create the control in the page. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu.
For more details on the Multimedia control in a WEBDEV website, see The Multimedia control (WEBDEV).
Handling a Multimedia control
A Multimedia control can be handled through programming via:

Remarks

  • Multimedia controls cannot be used in Looper controls.
  • You cannot capture the image of a video payed in a Multimedia control.
  • iPhone/iPadIOS WidgetMac Catalyst ScreenCastAllowed and ScreenCastInProgress are used to manage the ability to display the video on an external device (compatible with Air Play).
  • iPhone/iPadIOS WidgetMac Catalyst If the video format is not supported by iOS, the video is not played (video in AVI format for example).
  • iPhone/iPadIOS WidgetMac Catalyst Autoplay is only available in a video without sound track.
Related Examples:
Playing a Flash animation Unit examples (WINDEV): Playing a Flash animation
[ + ] Playing a flash animation from a WINDEV application:
- Load an animation
- Play an animation
- Pause the animation
- Stop the animation
WM System Cross-platform examples (WINDEV Mobile): WM System
[ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- Wi-Fi
- Bluetooth
- Toast
- Compass
- Accelerometer
- Camera control
- LED
- Vibration
- Notifications
- Drawing functions
- Internet
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help