我正在一个网站上工作,我正在嵌入来自不同网站的视频。当用户点击视频时,会出现一个popUp并播放视频。问题是它无法在移动设备上运行。既不是Android也不是Iphone。我正在使用ColorBox弹出窗口。但是在Windows上它可以很好地工作。
感谢帮助...
**<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css">
<!--script src="//code.jquery.com/jquery-1.10.2.js"></script-->
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://code.jquery.com/ui/1.11.3/jquery-ui.js"></script>
<script type="text/javascript" src="html5lightbox/html5lightbox.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
<script type="text/javascript" src="js/custom.js"></script>
<!--script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script-->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<!-- Add ColorBox -->
<link rel="stylesheet" href="colorbox/colorbox.css" />
<script src="colorbox/jquery.colorbox.js"></script>
<!-- End ColorBoX -->
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/responsive.css" />
<title>Cumster Tube</title>
</head>
<a href="<?php echo $ROWS['clip_url'];?>" id="img_click_<?php echo $ROWS['FilesID']; ?>" class="group1" onclick="update_counter('img_click_<?php echo $ROWS['FilesID']; ?>', '<?php echo $ROWS['FilesID']; ?>');"><img src="images/play_btn.png" alt=" " class="drag_hov"></a>**