<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Document</title>
<style type="text/css">
div{
width: 1000px;
height: 500px;
position: relative;
}
p{
width: 100px;
height: 100px;
background: red;
position: absolute;
top:50%;
left:50%;
display: none;
}
video{
position: absolute;
top:0;
left:0;
}
</style>
<script type="text/javascript">
<span style="font-size:18px;"> <strong> window.οnlοad= function(){
var video = document.getElementsByTagName("video")[0];
var p = document.getElementsByTagName("p")[0];
video.onpause = function()
视屏暂停的时候添加广告
最新推荐文章于 2019-05-29 20:38:32 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)