Here we will see how to stop YouTube video playing when modal is closed Bootstrap.
This snippet ‘refreshes’ the src of the embed iframe, causing it to reload:
Here we will see How to remove hide the select arrow in Firefox using -moz-appearance:none; Set -prefix-appearance to none to remove the styles; Use text-indent to “push” the content a bit to the right; Finally, set text-overflow to an empty string. Everything that extends beyond it’s width will become… The CSS will be :
When you put videos from Youtube, Vimeo, etc. it will take more time to load the page. Even if the video is in pop up section. And as per analysis if the loading time is greater than 4 seconds than there is 90% of chance that the visitor will leave your site. So to make your site load faster we need to defer video from YouTube, Vimeo and other websites.