Forum Discussion
Responsive Embed Code not working properly
This is what the "responsive" Embed code produces
Does anyone know how to get rid of these spaces that bring up scroll bars? This video will only correct itself after clicking play, If i embed this same video from "Video" i dont get these scroll bars and everything works like it should
13 Replies
- Kevin TaitzCopper Contributor
Same problem. This needs to be resolved, MSFT?
- Amit RajputFormer Employee
Kevin Taitz could you describe the issue you are seeing. The issue in this thread was actually resolved, so it's possible that you are facing a different issue
.- VvekanandCopper Contributor
Hi Amit, I am also facing same issue as below,
After adding multiple embed code of stream channel in one sharepoint classic page using SEWP, some time I am getting pagination (in screen print refer first arrow) and sometimes scrollbar (in screen print refer first arrow). I would like to have pagination only,Please refer screen print for more details,
thanks in advance.
Vivekanand Ade
- Amit RajputFormer Employee
Hi Tiger Boshomane - what browser/OS combo are you seeing this on? It might be an unintential issue and would be glad to help you solve this. Can you also paste the iframe code you are using?
- Tiger BoshomaneBrass Contributor
The below code is copied directly from Stream
"<div style='max-width: 640px'><div style='position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;'><iframe width="640" height="360" src="https://web.microsoftstream.com/embed/video/2cded409-af9e-409a-ba17-e9a7096a4580?autoplay=false&showinfo=true" frameborder="0" allowfullscreen style='position: absolute; top: 0; left: 0; right: 0; bottom: 0; height: 100%; max-width: 100%;'></iframe></div></div>"
I actually noticed that there's an overlaping image which could be the cause of the scroll bars, i've attached a screen shot below, I think this image is replaced by the actual responsive video when a user clicks play.
Overlapping Image causing the scroll bars
- Marc Mroz
Microsoft
Tiger Boshomane - I tried to reproduce this issue internally here at Microsoft but wasn't able to make it look like you have.
A few observations. It looks like the scroll bars up/down and left/right are not inside the iFrame. From yourscreenshot it makes me think they are in your HTML code around the Stream iFrame.
Also it looks like for some reason the Stream embed iframe didn't render quite right. There is a black circle centered with a triangle to the right of it. I believe that white triangle is supposed to be inside of the black circle for our play icon button. Do you have any idea if there is some other code / css on the page that is messing up the rendering of the Stream embed?
Can you check this issue on other OS/Browsers and see if has the same problem there?
What OS/Browser is your screenshot from?
The worst that I could get to happen in my testing was that there was just a vertical scroll bar at some very specific narrow widths for Stream when the title of the video was long (wraps to 2 or more lines). However the scroll bar went away again if I made the player even narrower. But I don't think the scroll bars you are seeing are not from the player, because of the white space between the player and the scroll bar in your picture.