JS Open video file, test has passed __JS

Source: Internet
Author: User
<!doctype html>
<meta charset= "Utf-8" >
<title> Untitled Document </title>
<link href= "Css/video-js.min.css" rel= "stylesheet" >
<script src= "Js/video.min.js" ></script>
<style>
Body{background-color: #252525}
. m{margin-left:0px; Margin-right:auto width:960px;height:400px;margin-top:100px}
</style>


<body>


<div class= "M" >
<video
Id= "My-player"
Class= "Video-js"
Controls
preload= "Auto"

data-setup= ' {} ' >
<source src= "images/exploration b animation. mp4" Type= "Video/mp4" ></source>
<!--<source src= "HTTP://VJS.ZENCDN.NET/V/OCEANS.WEBM" type= "VIDEO/WEBM" ></source>
<source src= "HTTP://VJS.ZENCDN.NET/V/OCEANS.OGV" type= "Video/ogg" ></source>-->
<p class= "Vjs-no-js" >
To view this video please enable JavaScript, and consider upgrading to a
Web browser that
<a href= "http://videojs.com/html5-video-support/" target= "_blank" >
Supports HTML5 video
</a>
</p>
</video>
</div>


<script type= "Text/javascript" >
Turn on auto play
var myplayer = Videojs (' My-player ');
Videojs ("My-player"). Ready (function () {
var myplayer = this;
Myplayer.play ();
});
</script>


</body>



This refers to the JS file and CSS style, if necessary, I send you


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.