Topics List
Design Elements

Video
Enhancing User Experience with Video Integration

Video integration is a powerful feature that can enhance the user experience of your app. By incorporating videos into your app, you can provide users with engaging and dynamic content that can help them better understand your product or service. Whether you´re showcasing product demos, providing instructional videos, or simply adding entertainment value, videos can help you connect with your audience on a deeper level. Additionally, video integration can help you convey information more effectively than text or images alone, making it a valuable tool for enhancing the overall user experience of your app.



You can download the project from the following link:

Class_Rar_0__43.rar

You can observe the project in motion here:



Video´s Properties


During design mode, you can assign the following properties and events to a Video:



  • name: The name of the Video control.

  • Position and Size

    • x: The x-coordinate of the Video control.

    • y: The y-coordinate of the Video control.

    • const_anchorX: The anchor point on the x-axis.

    • const_anchorY: The anchor point on the y-axis.

    • width: The width of the Video control.

    • height: The height of the Video control.

    • toBack: Set to true to move the Video control to the back.

    • toFront: Set to true to move the Video control to the front.

    • isVisible: Set to true to make the Video control visible.

  • Appearance

    • None in this case.

  • Content

    • url_or_local_video: The URL or local file path of the video to be played.

    • autoPlay: Set to true to automatically play the video when the control is loaded.

  • Functions

    • videoListener: The function to execute when there is a video event, such as play, pause, or stop.