Video-js scss

Size
13,211 Kb
Views
24,288

How do I make an video-js scss?

What is a video-js scss? How do you make a video-js scss? This script and codes were developed by Revolution Graphics on 01 October 2022, Saturday.

Video-js scss Previews

Video-js scss - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>video-js scss</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- Not including the default CSS -->
<!--<link href="https://vjs.zencdn.net/4.0.4/video-js.css" rel="stylesheet"> -->
<script src="https://vjs.zencdn.net/4.3.0/video.js"></script>
<div class="container"> <video id="my_video_1" class="video-js vjs-default-skin" controls preload="none" width="640px" height="267px" data-setup='{}' poster='http://video-js.zencoder.com/oceans-clip.jpg'> <source src="https://vjs.zencdn.net/v/oceans.mp4" type='video/mp4' /> <source src="https://vjs.zencdn.net/v/oceans.webm" type='video/webm' /> </video>
</div>
<style> /* Show the controls (hidden at the start by default) */ .video-js .vjs-control-bar { display: block; } /* Make the CDN fonts accessible from the CSS */ @font-face { font-family: 'VideoJS'; src: url('https://vjs.zencdn.net/f/1/vjs.eot'); src: url('https://vjs.zencdn.net/f/1/vjs.eot?#iefix') format('embedded-opentype'), url('https://vjs.zencdn.net/f/1/vjs.woff') format('woff'), url('https://vjs.zencdn.net/f/1/vjs.ttf') format('truetype'); } /* Make the demo a little prettier */ body { background: #222; text-align: center; } .video-js { margin: 20px auto; }
</style> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Video-js scss - Script Codes CSS Codes

/* Responsive Stuff.
--------------------------------------------------------------------------------
*/
.container { max-width: 700px; margin: 0 auto;
}
.video-js { width: auto !important; /* override the plugin's inline dims to let vids scale fluidly */ height: auto !important;
}
.video-js video { position: relative !important;
}
/* The video should expand to force the height of the containing div.
One in-flow element is good. As long as everything else in the container
div stays `position: absolute` we're okay */
.video-js video { height: auto !important;
}
/*!
Video.js Default Styles (http://videojs.com)
Version GENERATED_AT_BUILD
Create your own skin at http://designer.videojs.com
*/
/* SKIN
================================================================================
The main class name for all skin-specific styles. To make your own skin,
replace all occurances of 'vjs-default-skin' with a new name. Then add your new
skin name to your video tag instead of the default skin.
e.g.