- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2017 09:07 AM
I'm trying to add the following HTML5 <video> attribute as a Service Portal widget as a background div video:
<video autoplay muted loop controls>
<source src="//sample.com/path/to/video.mp4"></source>
</video>
Everything works fine, except for autoplay. Has anyone else ran into a similar issue?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2017 06:15 AM
I was able to figure it out. Apparently Angular was ignoring some of the <video> attributes. However, moving the video source from <source> element to "ng-source" attribute seemed to do the trick. Here's the sample code:
- <video autoplay muted loop controls ng-src="//sample.com/path/to/video.mp4"></video>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2017 12:01 PM
Try :
- <video muted loop controls>
- <source src="//sample.com/path/to/video.mp4?autoplay=1"></source>
- </video>
I tried with Iframe it worked with the embed tag.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2017 06:15 AM
I was able to figure it out. Apparently Angular was ignoring some of the <video> attributes. However, moving the video source from <source> element to "ng-source" attribute seemed to do the trick. Here's the sample code:
- <video autoplay muted loop controls ng-src="//sample.com/path/to/video.mp4"></video>