Inserts an FLV player in an HTML page. IE Firefox are available

Source: Internet
Author: User
inserts an FLV player in an HTML page. IE Firefox are available

<%@ page language= "java" import= "java.util.*" pageencoding= "Iso-8859-1"%>
<%
String path = Request.getcontextpath ();
String basepath = request.getscheme () + "://" +request.getservername () + ":" +request.getserverport () +path+ "/";
%>

<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" >
<base href= "<%=basePath%>" >

<title>my JSP ' myjsp.jsp ' starting page</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= "This are my page" >
<!--
<link rel= "stylesheet" type= "Text/css" href= "Styles.css" >
-->


<body>
<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
Codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
height= "Width=" >
<param name= "movie"
Value= "http://localhost:8080/filedownload/vcastr22.swf?vcastr_file=http://localhost:8080/filedownload/wo.flv" >
<param name= "Quality" value= "High" >
<param name= "allowFullScreen" value= "true"/>
<embed
Src= "http://localhost:8080/filedownload/vcastr22.swf?vcastr_file=http://localhost:8080/filedownload/wo.flv"
Quality= "High"
Pluginspage= "Http://www.macromedia.com/go/getflashplayer"
Type= "Application/x-shockwave-flash" width= "height=" >
</embed>
</object>
</body>

In other blogs see the code, they made adjustments, vcastr22.swf this player needs to go online to download ... Do not go, you can find a network of playback, but I am afraid of instability, on their own down a, put in the program inside the

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.