Web program Foreground Video plugin

Source: Internet
Author: User

Need to introduce two JS files

<%@ page language= "java" contenttype= "text/html; Charset=utf-8 "pageencoding=" UTF-8 "%>
<% @page import= "Java.util.ArrayList"%>
<%@ taglib prefix= "C" uri= "Http://java.sun.com/jsp/jstl/core"%>
<c:set var= "CTX" value= "${pagecontext.request.contextpath}"/>
<!doctype HTML PUBLIC "-/w3c/dtd HTML 4.01 transitional/en" "HTTP://WWW.W3.ORG/TR/HTML4/LOOSE.DTD" >
<%
String video_url = (string) request.getsession (). getattribute ("url");
String url = video_url.substring (Video_url.length ());
String videoname = video_url.substring (, video_url.length ());
System.out.println (URL);

%>
<script type= "Text/javascript" src= "${ctx}/resources/media/jquery.media.js" ></script>
<script type= "Text/javascript" src= "${ctx}/resources/media/jquery.metadata.js" ></script>
<title>jquery Video Plugin </title>
<meta http-equiv= "Pragma" content= "No-cache" >
<meta http-equiv= "Cache-control" content= "No-cache" >
<meta http-equiv= "Expires" content= "0" >
<meta http-equiv= "keywords" content= "keyword1,keyword2,keyword3" >
<meta http-equiv= "description" content= "MMPS" >
<body>
<script type= "Text/javascript" >
$ (' A.media '). Media ();
</script>

<a class= "Media {width:480, height:425}" href= "<%=url%>" ><%=videoname%></a>
</body>

Web program Foreground Video plugin

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.