Expand my Community achievements bar.

Prevent background video playback

Avatar

Level 1

We created a few articles, a part of them contain embedded videos from youtube (iframe). If we open the article and start video playing and then we switch to other article the video will play in background. Is it intended? How to prevent such behaviour? We'd like to stop video or audio playing if the article becomes inactive. Thanks!

4 Replies

Avatar

Level 1

Forgot to mention the device. That happens on iPad.

Avatar

Employee

Hi There,

Instead of mentioning the entire embed code to a Frame, Just use the following part from embed code.

796326_pastedImage_0.png

Add a silence audio on the page it self, it will stop all other Audio/Video.

Hope this will resolve your issue.

Thanks,

Abhinav

Avatar

Level 5

How can I use the 'Video' Folio Overlay for youtube videos? I have created a box on the page, clicked the Video Overlay option, and tried adding the youtube share link, the actual URL, and the piece of code mentioned above. The player always shows up, but no video content.

Thanks!

J3ff

Avatar

Employee

Th J3ff,

Please use the above example. Select Embedded on the Youtube Video and Then select copy the below highlighted portion from the code, use it on the video overlay and try to preview it. It will work.

Capture.JPG

Thanks,

Abhinav