- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2022 11:24 PM
Hello
I am using video carousel(CD) in ESC Portal. I am able to add videos from YouTube through link. But i need to upload some local MP4 videos which will not present in youtube, So i added videos to the (db_video) table and giving /video name in link content which will bring local video to carousel. Now videos coming from db_video table are auto playing. how can i stop that?
Also alignment is different for local videos compared to youtube videos. Please see attached images. How can i make it common size foe both local and youtube videos?
Solved! Go to Solution.
- Labels:
-
Employee Service Center

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2022 06:46 AM
Hello,
You have to add this new code or switch from iframe to video element - See if that works!
<video id="video_{{$index}}_{{data.spInstanceId}}"
title="{{c.i18n.format(data.messages.frameTitle , $index + 1)}}"
ng-class="c.multipleSlides()?'video-player':'video'"
ng-src="{{item.url || 'blank.do'}}"
frameborder="0"
allowFullScreen="true"
controls=true
ng-if="item.video_source === 'unknown'"></video>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2022 06:46 AM
Hello,
You have to add this new code or switch from iframe to video element - See if that works!
<video id="video_{{$index}}_{{data.spInstanceId}}"
title="{{c.i18n.format(data.messages.frameTitle , $index + 1)}}"
ng-class="c.multipleSlides()?'video-player':'video'"
ng-src="{{item.url || 'blank.do'}}"
frameborder="0"
allowFullScreen="true"
controls=true
ng-if="item.video_source === 'unknown'"></video>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2022 06:59 PM
Thanks for your answer. Now videos are not auto playing after replacing the code you mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 09:14 PM
I am using the Carousel Widget in the Employee Center and I added the Carousel slide to play videos in the portal
Steps:
1.Uploaded video in the db_table
2.Format of the Video is mp4
3.I added the Link of the Video in the Carousel Side
In the Link Field I added the Link(?id=db_video&sys_id=AAAAAAAAAAAAAAAAAA)
I am trying to open the carousel from the Employee Center but its not playing the video , I am receiving the "Page Not Found".
Can anyone help me on this? I am adding the link in Wrong format?