semantic-ui embed video

In this example below you will see how to do a semantic-ui embed video with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by lauraMM, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright lauraMM ©

Technologies

  • HTML
  • CSS
  • JavaScript
        <div class="url video">
<div class="ui embed" data-url="https://www.youtube.com/embed/O6Xo21L0ybE" data-placeholder="https://semantic-ui.com/images/bear-waving.jpg">
  
</div>
</div>
 
    

/*Downloaded from https://www.codeseek.co/lauraMM/semantic-ui-embed-video-JvyyVj */
        
    

/*Downloaded from https://www.codeseek.co/lauraMM/semantic-ui-embed-video-JvyyVj */
        $(document).ready(function(){
   $('.url.video .ui.embed').embed();


});
    

Comments