438
Views
5
Comments
Integrate Video running automatically
Question

Dear all,

I would like to integrate, with outsystem, a video that running automatically in background  without pressing play, or that the flash player is visible (in other words, like an image). Some guided procedure, video or suggestions?

Thank you in advance.

2016-11-20 11-27-52
João Neves

Hi Esteban,

First check out this article: https://thenewcode.com/777/Create-Fullscreen-HTML5-Page-Background-Video

If you're developing a mobile app (v10) you can use and advanced html widget to create the video tag. Otherwise, if you're developing a web responsive app, you should use an expression widget with its unescape property set to true and the source set to the html content to the video markup (as explained on the article).

UserImage.jpg
Esteban Cambiasso

I don't know how upload a video; in other words


<video playsinline autoplay muted loop poster="polina.jpg" id="bgvid">    <source src="polina.webm" type="video/webm">    <source src="polina.mp4" type="video/mp4"></video>


how set in source src? 

2016-11-20 11-27-52
João Neves

How big is the video?

You might add it as a resource in another another module, and make it public (this way you will speed up publishing times of your main module). Then add a reference to the video (resource) in your main module.

Point the source to the url of the resource (video) - resources have an url runtime property.

UserImage.jpg
Monish A

I have a similar issue. I saved an mp4 file (1.3mb) under Resources in a module. When I reference the Controls\Video pattern to the source file Resources.xxx_mp4, i get an error "Text datatype required instead of None". Can you help?

2022-07-21 14-07-25
Abeer elAssal
 
MVP

Monish A wrote:

I have a similar issue. I saved an mp4 file (1.3mb) under Resources in a module. When I reference the Controls\Video pattern to the source file Resources.xxx_mp4, i get an error "Text datatype required instead of None". Can you help?


did you find a way to let the video control work?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.