Forum Discussion
Responsive Embed Code not working properly
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.
I am also facing similar issue.. I placed the embedded video URL inside a content editor web part (classic page). The web part zone is smaller in size and takes 20% of the total width of the page. Now in the screenshot attached it can be seen that a scrollbar is appearing only in IE. I have IE 11.0.9600. The inner triangle which is a .svg-icon takes 100% width and not sure why it pushes which created scrollbar.
- Amit RajputOct 27, 2017Former Employee
Gynanendra Prasad Ray do you see this issue in any other browser? Additionally, if you take the same embed code to jsfiddle.net and paste it into the html section and click run, do you have the same issue?
- Gynanendra Prasad RayOct 27, 2017Copper Contributor
It happens only with IE. Works perfectly alright with Chrome and Mozilla.The same embedded code works fine without a scrollbar with jsfiddle.net.
- Amit RajputOct 31, 2017Former Employee
Thanks for the information Gynanendra Prasad Ray - from the information you provided we believe the issue is that the SharePoint page where this is embedded is forcing compatibility mode to render IE11 as IE10. This is usually displayed in the HTML page <head> as <meta http-equiv="X-UA-Compatible" content="IE=10" />
We are currently looking into seeing what can be done here, however IE10 capabilities are limited. We will update the forum once we have more information.