- Video Player and Social Media

Video Player and Social Media

Video player via Vimeo

Today's online video players are designed for sharing, and Vimeo is no exception. Note that each video is equipped with a "Share" button which reveals a code snippet that can be copied into the HTML page:

Social media widgets

Social media platforms also offer a series of widgets that web developers can use to promote their postings and pages. Facebook and Twitter offer some of the more refined widgets at your disposal:

Closely follow the provided instructions, and you will receive another set of code snippets that can be used to populate the microsite.

Finish line

This concludes this week's introduction to widget and libraries. I hope you will be able to explore these options carefully and plan your next project accordingly.

Screencast Recording

Code Sample: HTML

<!doctype html>
        <title>Week 3</title>
        <link rel="preconnect" href="">
        <link rel="preconnect" href="" crossorigin>
        <link href=";700&family=Roboto:wght@400;700&display=swap" rel="stylesheet">       
        <link href="" rel="stylesheet">
        <link href="css/style.css" rel="stylesheet">
        <div id="container">
            <div id="title">
                <i class="fa fa-globe"></i> Hello world
            <div id="content">
                <div id="content_left">
                    <iframe src="" width="280" height="500" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>                
                <div id="content_right">
                    <div id="video">
                        <iframe src="" width="500" height="300" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>
                    <h1>Lorem ipsum</h1>
                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis velit laoreet, scelerisque purus eu, gravida nulla. Vestibulum ornare ornare urna a ullamcorper.</p>
                    <a href="" class="twitter-follow-button" data-show-count="false">Follow @TwitterDev</a><script async src="" charset="utf-8"></script>
            <div id="menu">
                <a href="#"><i class="fab fa-facebook"></i></a>
                <a href="#"><i class="fab fa-instagram"></i></a>
                <a href="#"><i class="fab fa-twitter"></i></a>

Code Sample: CSS


    margin-bottom: 20px;