Close popover
Achintya Kumar Roy (AchintyaKumarR)
Cognizant technologies solutions Pvt. Ltd.
Cognizant technologies solutions Pvt. Ltd.
AchintyaKumarR Member since 2015 1 post
Cognizant technologies solutions Pvt. Ltd.
Posted: June 23, 2017
Last activity: January 23, 2018

How to run a video in pega Application.

We can run mp4 files in any section in an Pega application.In order to achieve this you need to follow the below mentioned steps:

Step 1 : upload a mp4 file as a binary file in webwb directory and save it.

Step 2: Create a section in work class and in HTML tab of the section uncheck "Auto generated HTML", it will give you space to write customized HTML code.

Step 3 : Add the following HTML snippet on that space

<video id='Test231' width="500" height="400" controls>
<source src="<pega:reference name="pxThread.pxReqBaseURI" mode="normal" />/webwb/MyVideo.mp4" type="video/mp4">
Your browser does not support the video tag.


*Test231 is the section name where you wrote that HTML code.

*/webwb/MyVideo.mp4 is the Id of the binary file you Uploaded (replace the . with /)

now you can add this section wherever you want.

***Edited by Moderator Marissa to change post type to Discussion***

User Experience Developer Knowledge Share