How to upload and play video In portal User Interface?
- Use Video from Advanced in the Section.
- Create a binary file with mp4 format.
- Take Property reference and mention “webwb/TestvideoMp4.mp4” instead of webwb.testvideoMp4.mp4.
[OR]
- Create a binary file with mp4 format. (Eg id: TestVideoMp4)
- Create a non html generated section and include the following code
<video id='TestVideoMp4' width="720" height="340" controls>
<source src="<pega:reference name="pxThread.pxReqBaseURI" mode="normal" />/webwb/TestVideoMp4.mp4" type="video/mp4">
</video>
<script>
document.getElementById("TestVideoMp4").play();
</script>
- Adjust height and width accordingly.
***Edited by Moderator Marissa to update platform capability tags****