Responsive Youtube Videos With No Suggested Videos At End
-
Hello,
I am using the video widget that ask for the url of the video.
The issue I have is this will show suggested videos at the end, and looks pretty unprofessional on a business website.
I then tried to embed the iframe youtube code using the text widget. The suggested videos no longer appear, however the video no longer shows on mobile devices.
I tried using css below with a div class….no luck.
.video-container {
position: absolute;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
.video-container iframe, .video-container object, video-container embed {
position: relative;
top: 0;
left: 0;
width: 100%;
height: 100%;
}I tried adding ?rel=0 to the end of the video link…..no luck.
Does anybody have any suggestions?
- The topic ‘Responsive Youtube Videos With No Suggested Videos At End’ is closed to new replies.