Bootstrap 4 Video Embed Not Working Properly












2















I followed the documentation and researched other questions but couldn't figure out why it's not working.



Here is the code:



<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive">
<iframe src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen="true" scrolling="no" height="378" width="620" class="embed-responsive-item"></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive">
<iframe width="560" height="315" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen="true" class="embed-responsive-item"></iframe>
</div>
</div>
</div>
</div>


Also, you can get a live preview of it not working at: VisViresGaming.com, at the bottom.










share|improve this question























  • Seems like you've got some other javascript errors happening on your page that is likely interfering. Use the dev tool console to try to resolve those

    – abney317
    Feb 23 '18 at 22:22
















2















I followed the documentation and researched other questions but couldn't figure out why it's not working.



Here is the code:



<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive">
<iframe src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen="true" scrolling="no" height="378" width="620" class="embed-responsive-item"></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive">
<iframe width="560" height="315" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen="true" class="embed-responsive-item"></iframe>
</div>
</div>
</div>
</div>


Also, you can get a live preview of it not working at: VisViresGaming.com, at the bottom.










share|improve this question























  • Seems like you've got some other javascript errors happening on your page that is likely interfering. Use the dev tool console to try to resolve those

    – abney317
    Feb 23 '18 at 22:22














2












2








2








I followed the documentation and researched other questions but couldn't figure out why it's not working.



Here is the code:



<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive">
<iframe src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen="true" scrolling="no" height="378" width="620" class="embed-responsive-item"></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive">
<iframe width="560" height="315" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen="true" class="embed-responsive-item"></iframe>
</div>
</div>
</div>
</div>


Also, you can get a live preview of it not working at: VisViresGaming.com, at the bottom.










share|improve this question














I followed the documentation and researched other questions but couldn't figure out why it's not working.



Here is the code:



<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive">
<iframe src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen="true" scrolling="no" height="378" width="620" class="embed-responsive-item"></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive">
<iframe width="560" height="315" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen="true" class="embed-responsive-item"></iframe>
</div>
</div>
</div>
</div>


Also, you can get a live preview of it not working at: VisViresGaming.com, at the bottom.







html css bootstrap-4






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 23 '18 at 22:09









Buckyx55Buckyx55

229




229













  • Seems like you've got some other javascript errors happening on your page that is likely interfering. Use the dev tool console to try to resolve those

    – abney317
    Feb 23 '18 at 22:22



















  • Seems like you've got some other javascript errors happening on your page that is likely interfering. Use the dev tool console to try to resolve those

    – abney317
    Feb 23 '18 at 22:22

















Seems like you've got some other javascript errors happening on your page that is likely interfering. Use the dev tool console to try to resolve those

– abney317
Feb 23 '18 at 22:22





Seems like you've got some other javascript errors happening on your page that is likely interfering. Use the dev tool console to try to resolve those

– abney317
Feb 23 '18 at 22:22












1 Answer
1






active

oldest

votes


















0














The class embed-responsive-16by9 was missing in your code.



Click "run code snippet" below and expand to full page for testing:






<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<div class="container">
<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>





Note: the videos themselves aren't gonna load here because SO doesn't allow third-party iframe embeds but you'll be able to see and verify that it's working as far as responsiveness goes.



Edit:



Just tested on your website (via web dev tools) and adding the embed-responsive-16by9 class (like shown in the code snippet above) definitely fixes the issue there as well.






share|improve this answer





















  • 1





    Ahh that worked. Thank you so very much!!

    – Buckyx55
    Feb 23 '18 at 23:04











  • Still doesn't work for me. However your own snippet does work.

    – Nik-Lz
    Jul 4 '18 at 1:56











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f48956929%2fbootstrap-4-video-embed-not-working-properly%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














The class embed-responsive-16by9 was missing in your code.



Click "run code snippet" below and expand to full page for testing:






<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<div class="container">
<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>





Note: the videos themselves aren't gonna load here because SO doesn't allow third-party iframe embeds but you'll be able to see and verify that it's working as far as responsiveness goes.



Edit:



Just tested on your website (via web dev tools) and adding the embed-responsive-16by9 class (like shown in the code snippet above) definitely fixes the issue there as well.






share|improve this answer





















  • 1





    Ahh that worked. Thank you so very much!!

    – Buckyx55
    Feb 23 '18 at 23:04











  • Still doesn't work for me. However your own snippet does work.

    – Nik-Lz
    Jul 4 '18 at 1:56
















0














The class embed-responsive-16by9 was missing in your code.



Click "run code snippet" below and expand to full page for testing:






<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<div class="container">
<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>





Note: the videos themselves aren't gonna load here because SO doesn't allow third-party iframe embeds but you'll be able to see and verify that it's working as far as responsiveness goes.



Edit:



Just tested on your website (via web dev tools) and adding the embed-responsive-16by9 class (like shown in the code snippet above) definitely fixes the issue there as well.






share|improve this answer





















  • 1





    Ahh that worked. Thank you so very much!!

    – Buckyx55
    Feb 23 '18 at 23:04











  • Still doesn't work for me. However your own snippet does work.

    – Nik-Lz
    Jul 4 '18 at 1:56














0












0








0







The class embed-responsive-16by9 was missing in your code.



Click "run code snippet" below and expand to full page for testing:






<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<div class="container">
<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>





Note: the videos themselves aren't gonna load here because SO doesn't allow third-party iframe embeds but you'll be able to see and verify that it's working as far as responsiveness goes.



Edit:



Just tested on your website (via web dev tools) and adding the embed-responsive-16by9 class (like shown in the code snippet above) definitely fixes the issue there as well.






share|improve this answer















The class embed-responsive-16by9 was missing in your code.



Click "run code snippet" below and expand to full page for testing:






<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<div class="container">
<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>





Note: the videos themselves aren't gonna load here because SO doesn't allow third-party iframe embeds but you'll be able to see and verify that it's working as far as responsiveness goes.



Edit:



Just tested on your website (via web dev tools) and adding the embed-responsive-16by9 class (like shown in the code snippet above) definitely fixes the issue there as well.






<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<div class="container">
<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>





<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<div class="container">
<div class="row">
<div class="col">
<h3 class="text-center text-primary py-3 text-uppercase">Our Twitch Streamers</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://player.twitch.tv/?channel=visviresgames" allowfullscreen></iframe>
</div>
<h3 class="text-center text-primary py-3 text-uppercase">Our Youtube Channel</h3>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/k5JqHLbZP_0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>






share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 23 '18 at 22:40

























answered Feb 23 '18 at 22:22









WebDevBoosterWebDevBooster

8,41072943




8,41072943








  • 1





    Ahh that worked. Thank you so very much!!

    – Buckyx55
    Feb 23 '18 at 23:04











  • Still doesn't work for me. However your own snippet does work.

    – Nik-Lz
    Jul 4 '18 at 1:56














  • 1





    Ahh that worked. Thank you so very much!!

    – Buckyx55
    Feb 23 '18 at 23:04











  • Still doesn't work for me. However your own snippet does work.

    – Nik-Lz
    Jul 4 '18 at 1:56








1




1





Ahh that worked. Thank you so very much!!

– Buckyx55
Feb 23 '18 at 23:04





Ahh that worked. Thank you so very much!!

– Buckyx55
Feb 23 '18 at 23:04













Still doesn't work for me. However your own snippet does work.

– Nik-Lz
Jul 4 '18 at 1:56





Still doesn't work for me. However your own snippet does work.

– Nik-Lz
Jul 4 '18 at 1:56


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f48956929%2fbootstrap-4-video-embed-not-working-properly%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bressuire

Vorschmack

Quarantine