简体   繁体   English

如何从jsp中自己的应用程序播放视频文件(文件位于我自己的服务器Mysql数据库中。)

[英]How to Play video file from my own application in jsp(File is in my own server Mysql database.)

Can any one help me,About how to play video file in jsp application.Where the video file exist in my own mysql databse (BLOB format).Can any one suggest how to play thoes video file in jap page(streaming). 有谁能帮我,关于如何在jsp应用程序中播放视频文件。如果该视频文件存在于我自己的mysql数据库(BLOB格式)中,谁能建议如何在jap页面(流)中播放这些视频文件。

1.is there any API to play video file like. 1.是否有任何API可以播放视频文件。 you tube Embed code.or viemo player.. 您可以嵌入代码或viemo播放器。

2.is there any server side configuration settings.. 2.是否有任何服务器端配置设置。

Regard Sourav nandan. 问候Sourav nandan。

I guess the easiest is HTML5, these days. 我猜最近最简单的是HTML5。 Try reading this to see what you need to do. 尝试阅读本文以了解您需要做什么。 You will also need to provide a servlet which will dump your BLOB into its response stream. 您还需要提供一个servlet,它将您的BLOB转储到其响应流中。

Another way would be Flash - there are plenty of solutions for that, for instance FlowPlayer . 另一种方法是Flash-有很多解决方案,例如FlowPlayer (You still need that servlet, though.) (不过,您仍然需要该servlet。)

HTML5 Video Tag HTML5视频标签

I don't know about jQuery, but AFAIK, you need jQuery Media Plugin to play videos using jQuery. 我不了解jQuery,但是AFAIK,您需要jQuery Media Plugin才能使用jQuery播放视频。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Java应用程序中使用我自己的sikuli文件 - How to use my own sikuli file in java application 如何播放我自己的视频? - Ways to make my own video play back? 如何从Java File在终端上执行我自己的命令 - How to execute my own commands on terminal from java File 如何在JSP中调用我自己的方法 - How to call my own method in JSP 如何将自己的类添加到JSP页面? - How to add my own class to a JSP page? JSP:无法将我自己定义的 class 导入 jsp 文件。 错误 500 无法编译 - JSP: Unable to import my own defined class into jsp file. Error 500 unable to compile 如何在我自己的 VPS 和服务中为开发者安装 JCloud Server Application - How to install JCloud Server Application in my own VPS and service for developers 如何用继承自JFrame图标的图标创建自己的文件(在Java中设置),我自己的文件使用FileOutputStream和ObjectOutputStream - how to create own file with icon that inherit from JFrame icon, that I set it, in java and my own file use FileOutputStream and ObjectOutputStream 如何从我自己的 android 应用程序启动 Telegram 应用程序? - How to launch Telegram app from my own android application? 从我自己的应用程序启动另一个应用程序 - launch another application from my own app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM