Play Video




Introduction

It is relatively easy to play video in apps.

Most of the time you can use the Video Block which ultimately uses the native player on your device.

In other cases you can also use the HTML Block to play video.


You can decide to:

Streaming video can be a Live feed or VOD, from a technical standpoint these are fairly similar.

EachScape allows you to fully customize the video controls.


Last but not least, you can also play 360 video.

In either case you need to have the correct video format.


Video Tutorial illustrates how to play video from a local source and from a remote feed.
Click here to install Video Tutorial in your workspace.



video block

Video Block


Drag the Video Block to play videos



Configuration
 

Core Configuration

Source: The location of your video.

  • From a Feed or EachScape Cloud Collection : The video is stored and played from a remote server) 
  • In the Media Folder : This is mostly used for videos shown when app launch as 'splash videos'. 
  • In a SQL Database on device : The video is stored as a resource file for a SQL DB. That resource file is loaded on the device, no network connectivity required. 

Controls: To Hide or Show Video controls on screen.




stream

Streaming Video


From a Feed

To learn how to implement an app streaming video, please review the base app called:


VIDEO STREAMING, Click here for Tutorial and installation

That Base App uses EachScape Cloud Collection to store the video.
You can use any CMS to store and stream your video.

local
On Device Video

Video stored in the the Media Folder
You can easily upload video in the media folder.

Pros: Easy to upload & access.
Cont: The app cannot search through assets stored in the Media folder. It can only access the assets. To search or sort the asset they need to be stored in a SQL Database.

SYNTAX
                    In the Source field: Enter the name of your video exactly as it appears in the media folder.
                   In the Media Folder: Make sure to check  'Access by name'




Video stored on a SQL Database on device
You can create SQL DB which resides on the mobile device.

Pros: You can filter & sort DB.
Cont: Storing video on device takes a lots of space, apps will be bigger.

Video will be stored in the file system yet accessible from the SQL DB: Learn how to create an On Device Database.



Learn More
- Video Format
- Play Audio