Embed video player or flash payer on Jsp page

HI all, I am new to java, and i want store videos in database(Mysql) and also want to retrieve and play videos on my jsp page,like youtube,how can i embed video player or flash payer on my jsp page so that i can play videos of almost all formats. iam doing all this in servlets.
Can anybody help me?? and give details about all that??
Thanks.

Hi thanks for ur response,
Can you please help me more, i am using eclipse on linux OS and trying to play video,using JMF,by using jmf.jar,mediaplayer.jar,multiplayer.jar files in my applications ,and when i run my class it gives error "No media player found" as there is no media player in linux,so how can i play my video in real player or in some other player in llinux using eclipse.
iam using sample code provided by JMF to play video.
Thanks.

Similar Messages

  • How to embed video player in iPhone application?

    Hello Everybody,
    I want to embed video player in my application. I have one sample code provided by the iPhone developer documentation. But it is not running properly , it is just showing one rounded progress indicator and it is rotating n rotating and never coming to an end. Can any one here , tell me how do I proceed to embed video player in my application?
    Any information regarding this is highly appreciable.
    Thanks,
    Pandit Pakhurde

    Hi Roger,
    Actually, Code is running fine and not giving any error. When I am clicking on "Play Movie" button then iPhone is getting flipped with one window having black screen and round progress indicator is rotating in middle of the screen. But no picture. I also debug the code , all the necessory paths of the video files are same. I think there are two possibilities in this issue, either video is not getting loaded properly or iPhone simulator is not providing the necessary requirement to run video file.
    Is there anything I am missing then please let me know.
    Thanks,
    Pandit Pakhurde

  • What is the best pop-up video player for flash?

    I am looking for the best way to create/find a pop-up video player for my flash site.
    Meaning, clicking on thumbnails on a site and a new window/video player pops up.
    I would love to use Vimeo, but I can work with YourTube if that is all there is.
    Any suggestions?
    Thank you!

    I do not used videolightbox, but it may work just fine....but have created a similar effect on my own:
    http://www.hiesequim.com/education_center_test.html
    The big blue button in the middle of the page is a Flash .swf which communicates to javascript to show/hide a <div> containing a Flash video player. In this case it's not a separate pop-up window but an overlay. the important thing is that you can communicate between Flash and javascript, which will do the pop-up.
    So yes, you can create pretty much any type of pop-up you want. You'll be using actionscript in your tumbnails to communicate with javascript which will pop-open the window.
    In AS2 you use getURL or ExternalInterface to communicate with javascript.
    http://kb2.adobe.com/cps/156/tn_15683.html
    In AS3 :
    http://simplistika.com/as3-javascript-communication/
    For a pop-up window, you still need to create a second, actual html web page to hold the video player... embed Vimeo or whatever player you want.
    You also need the javascript to do the pop-up:
    http://www.javascript-coder.com/window-popup/javascript-window-open.phtml
    or Google "javascript popup window" for tons more of examples.
    If you are looking for more of the overlay type, like the link I posted above, the layout is a little different, you'll just be displaying a <div> which will hold your player instead of a whole separate page. Then you can use javascript show/hide:
    http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/
    or Google "javascript show hide" for tons more of examples.
    So in your Flash, you use a thumbnail as a button which communicates to the javascript in the HTML section of your Web page (remember, there is no such thing as a Flash Web page, only HTML, PHP, ASP, etc pages which may happen to have some Flash content). The javascript then responds by opening a pop-up window which displays another HTML web page that you have created and has the Vimeo player displayed on that second, popup page.
    Best of luck!
    Adninjastrator

  • Video player in flash

    hey,
    i am newbie to flash. i wonder whether it is possible to run
    video player, such as windows media player, quicktime, realplayer
    in the flash. i know you can run those inside a html webpage,
    however, what about in flash?
    if i want to play a video in flash, does it have to be
    converted to flash video format?
    thanks.

    No, Why would you want to?
    Here is a post on this discussion.
    http://www.kirupa.com/forum/archive/index.php/t-195518.html
    Shane

  • How to embed youtube movie in flash website using xml pages?

    hi to every one
    I m quite new to flash website designing. so I've downloaded a free flash website template, that is using xml pages in it. & I m using adobe flash cs4. now I wants to embed youtube movie in one of its .xml page & I wants that it shows that movie when i open that xml page in adobe flash cs4. even I've pasted youtube embeded code in one of that xml page but it does not works. so please please please resole my problem as soon as possible.
    thousands of thanks to all of those who helped me....
    Regards
    Faiz Fareed.

    Maybe you can try You Tube Api for flash
    http://code.google.com/apis/youtube/flash_api_reference.html

  • Using flash content in jsp page???

    hey guys,
    I'm trying to develop a jsp page but the problem is that the page should also contain some flash animation.
    Is it possible to do this?
    I've already tried using the "publish" option in flash mx 2004 but it dosen't work.

    Is it possible to do this?yes
    I've already tried using the "publish" option in
    flash mx 2004 but it dosen't work.you need to provide a more detailed description and error message
    it doesn't work doesn't give us much to work with

  • Integrate flash component into JSP page

    Hi,
    I need to integrate a flash component into my JSP page. flash component is used to put signature via mouse drag. the signature that is put should be captured and stored in DB. can anyone help me how to do it. Thanks in advance...

    I thought about including it in an outputText tag but i never tried it because the output text shouldn't be rendered as html code (by definition).
    Thank you for your brilliant solution, it works fine now.

  • How to embed HTML5 video player in web page

    I have developed a video player using html, javascript and jquery. depending upon the browser type and mobile/non-mobile device, it creats the html5 video tags or redirect to a fall back flash player). I am using Adobe media server
    this player works well on all the browsers.
    videoplayer.html
    <!DOCTYPE html>
        <html>
           <head>
    </head>
    <body>
    <video controls="controls" poster="http://sandbox.thewikies.com/vfe-generator/images/big-buck-bunny_poster.jpg" width="640" height="360">
              <source src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" type="video/mp4" />
              <source src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.webm" type="video/webm" />
              <source src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.ogv" type="video/ogg" />
                        <object type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" width="640" height="360">
                        <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
                        <param name="allowFullScreen" value="true" />
                        <param name="wmode" value="transparent" />
                        <param name="flashVars" value="config={'playlist':['http%3A%2F%2Fsandbox.thewikies.com%2Fvfe-generator%2Fimages%2 Fbig-buck-bunny_poster.jpg',{'url':'http%3A%2F%2Fclips.vorwaerts-gmbh.de%2Fbig_buck_bunny. mp4','autoPlay':false}]}" />
                        <img alt="Big Buck Bunny" src="http://sandbox.thewikies.com/vfe-generator/images/big-buck-bunny_poster.jpg" width="640" height="360" title="No video playback capabilities, please download the video below" />
              </object>
                        </video>
    </body>
        </html>
    ============================================
    If I embed this video player in any of the aspx page using <EMBED></EMBED>, the redirection to flash player does not happen.(it works fine on chrome and safari but not on IE and firefox)
    <EMBED height=360 width=250 src="http://localhost/videoplayer.html"></Embed>

    I used <object> to make it work in IE and Firefox
    <object type="text/html" data="http://64.165.34.7:8134/videoplayer.html?size=1&playlist=2" style="width:460px; height:260px"></object>

  • List of variables for included video player?

    I wanted to use the included video player from Flash media server but can't find a list of variables and values to pass to the player. Is there a list and could anyone point me in the right direction? I'm specifically looking to pass a stream name for a live stream to the video player.
    Thank you,
    Dan

    Thanks for the reply Honglei!
    Still I believe you've misunderstood the question. What I seek is documentation on the features of the player and info on it's parameters/variables.
    I've included the FMS startpage object code and here you see a bunch of them. Take the parameters:
    dsControl=manual (quess this is dynamic stream control)
    dsSensitivity=100 (quess this dynamic stream sensitivity)
    DS_Status=true (quess this dynamic stream status)
    streamType=vod
    ....etc
    These are just some of the parameters and I'm looking for an overview and explanation of them all.
    <object width='640' height='377' id='videoPlayer' name='videoPlayer' type='application/x-shockwave-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ><param name='movie' value='swfs/videoPlayer.swf' /> <param name='quality' value='high' /> <param name='bgcolor' value='#000000' /> <param name='allowfullscreen' value='true' /> <param name='flashvars' value= '&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&DS_Status=true&streamType =vod&autoStart=true&serverURL=rtmp:/vod/mp4:sample2_1000kbps.f4v'/><embed src='swfs/videoPlayer.swf' width='640' height='377' id='videoPlayer' quality='high' bgcolor='#000000' name='videoPlayer' allowfullscreen='true' pluginspage='http://www.adobe.com/go/getflashplayer'   flashvars='&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&DS_Status=true& streamType=vod&autoStart=true&serverURL=rtmp:/vod/mp4:sample2_1000kbps.f4v' type='application/x-shockwave-flash'> </embed></object>
    Thanks

  • Multicast video player with FMS 4.0

    I am trying to create a video player in Flash Builder using the new Flash Media Server 4.0 capabilities but I am not able to. The only thread I've seen out there is regarding the P2P player which is not what I want as seen here:
    http://www.swfgeek.net/2010/08/10/multicast-streaming-in-flash-player-10-1-revisited/
    I want to create a custom player that can retrieve a multicast broadcast.
    Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
             xmlns:s="library://ns.adobe.com/flex/spark"
             xmlns:mx="library://ns.adobe.com/flex/mx" width="650" height="250">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
        <![CDATA[
        import mx.core.UIComponent;
        import spark.components.Group;
        private const SERVER:String = "rtmfp://172.22.2.150/multicast";
        private const DEVKEY:String = ""; //removed for now
        [Bindable]
        private var connected:Boolean = false;
        private var video:Video;
        private var netConnection:NetConnection;
        private var stream:NetStream;
        public function init():void{
        writeText("Broadcaster:");
        video = new Video(320,240);
        video.x = 10;
        video.y = 10;
        var uic:UIComponent = new UIComponent();
        uic.addChild(video);
        addElement(uic);
        connect();
        private function connect():void{
        netConnection = new NetConnection();
        netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
        netConnection.connect(SERVER+DEVKEY);
        private function onNetConnectionNetStatus(event:NetStatusEvent):void
        switch(event.info.code){
        case "NetStream.Connect.Success":
        event.info.stream.dispatchEvent(event);
        break;
        private function netStatus(event:NetStatusEvent):void{
        writeText(event.info.code);
        switch(event.info.code){
        case "NetConnection.Connect.Success":
        setupStream();
        break;
        case "NetStream.Connect.Success":
        // not using a camera, using another live video source
        //var cam:Camera = Camera.getCamera();   
        //stream.attachCamera(cam);
        //stream.publish("multicast");
        //video.attachCamera(cam);
        stream.attach(netConnection);
        stream.publish("myStream");
        video.attachNetStream(stream);
        break;
        private function setupStream():void{
        //var groupspec:GroupSpecifier = new GroupSpecifier("myGroup/multicastOne");
            var groupspec:GroupSpecifier = new GroupSpecifier("fms.multicast.example");
        groupspec.serverChannelEnabled = true;
        groupspec.multicastEnabled = true;
        groupspec.groupspecWithoutAuthorizations()
        stream = new NetStream(netConnection,groupspec.groupspecWithAuthorizations());
        stream.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
        private function writeText(txt:String):void{
        txtHistory.text += txt+"\n";
        ]]>
        </fx:Script>
        <s:TextArea top="10" bottom="10" id="txtHistory" width="250" right="10"/>
    </s:Group>

    The QT movie opened promptly for me in Firefox 4.0. The fact that it's intermittent for you with FF indicates that it's a connection issue and not an iWeb issue. For some reason not all of the files are being loaded by FF at those times. (The server is probably being run by an Ohio State graduate )
    OT
    Go Blue!
    Note: using Quicktime for you slide presentation will exclude all those users from the dark side who don't have Quicktime installed on their PCs. You might look into a java based method for the presentation. There are lots of them out there. With the free Jalbum you have over 100 themes/skins to choose from.
    Message was edited by: Old Toad

  • How to show a MPEG4/H.264 video in Flash in an HTML page?

    Maybe my title isn't clear. I am hoping someone can shed some
    light on the h264 use in flash.
    Instead of displaying a progressive download .FLV video , I
    am trying to have an MPEG4 /h.264 approx. - a 30meg video display
    in flash in an .html page. Quicktime is easy to do, but Flash is my
    goal.
    I read several articles on h264 and flash 9, including this
    adobe
    H264 article but was hoping there might be an easier and maybe
    quicker solution. I did try renaming the .mp4 extension to .flv in
    dreamweaver but it did not display the video. (...unless it was
    downloading the video completely before displaying...not sure)
    There is a ton of sites, blogs and articles on h.264 and how
    flash 9 will display it...but when it comes to how one might
    actually have h.264 in flash on their own site...I am finding it
    difficult to figure out.
    Forgive my lack of action script and Flash knowledge...any
    direction is appreciated.
    Erick

    ...well I did follow that article on playing an h264/mpeg4
    video in flash. It works well, but how would you add playback
    controls?
    FLVPlayback component only allows you to source an FLV video
    not h264/mpeg4.
    This is probably a simple as3 answer...but I am not
    knowledgeable on as3 to know what code to add.
    Any suggests or direction that I should look would be great.
    In the meantime I am researching actionscript 3 to find and anwer.
    E.

  • MapViewer 10.1.2: Interactive SVG in a JSP page

    Hello everyone,
    I'd like to be able to embed an interactive SVG map in my JSP page (similar to the mapinit/svgmap demo).
    What is the simplest way to do it? Is there a JSP tag that would render a map with all javascript?
    I'd like to avoid having lots of Java and Javascript code in my JSP definition.
    Thanks,
    Max

    There is no such JSP up to this point. Currently, you have to have some java and Javascript code to implement the control flow. If you want your JSP code to look cleaner, you can move the Javascript code into a seperate JS file and use <SCRIPT TYPE="text/javascript" SRC="myscript.js"></SCRIPT> in your JSP code.

  • How to embed a flash video player in iWeb?

    I'm using this open source video player:
    http://www.jeroenwijering.com/extras/readme.html#installing
    I've customized it here:
    http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.html
    I'm trying to imbed it in an iWeb page using the "HTML Snippet" feature.
    This is the code that is recommended:
    <embed src="http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.swf" width="600" height="600
    type="application/x-shockwave-flash" pluginspage=
    "http://www.macromedia.com/go/getflashplayer" />
    </object>
    .... but I'm left with only a "white box" with the rotating circle...
    any ideas?

    Here is an updated version of the question which will hopefully make it useful for further users of iWeb... once an answer is found....
    I'm trying to embed this player into myspace and also into iWeb 2.0 as a "web widget":
    http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.html
    This HTML will make it work in Myspace and iWeb 2.0:
    <object enableJSURL="false" enableHREF="false" saveEmbedTags="true" allowScriptAccess="never" allownetworking="internal" type="application/x-shockwave-flash" data="http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.swf" height="300" width="312">
    <param name="movie" value="http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.swf" />
    <param name="allownetworking" value="internal" />
    <param name="allowScriptAccess" value="never" />
    <param name="enableJSURL" value="false" />
    <param name="enableHREF" value="false" />
    <param name="saveEmbedTags" value="true" />
    <param name="bgcolor" value="..FFFFFF" />
    <param name="wmode" value="opaque" />
    <param name="quality" value="high" />
    <param name="menu" value="false" />
    <param name="scale" value="showall" />
    <param name="flashvars" value="file=http://www.perlstrax.com/alexanderperls_musicvideos/playlist.xml&autostart=true&lightcolor=0xffcc00" />
    ...BUT ..... no menu shows up to select the video...
    I think the problem is that it's running the SWF file OK, but in order for it to work properly, it has to read data from this HTML file http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.html
    and this XML file: http://www.perlstrax.com/alexanderperls_musicvideos/playlist.xml
    Here is a recent discussion on placing these players in myspace:
    http://www.jeroenwijering.com/?thread=3007

  • Did you have video problems with Flash Player 10.2?

    Hello Flash Player community,
    We're getting ready to release Flash Player 10.3 and we'd like to ask for your help and input.  If you encountered video related problems with the current version of Flash Player on sites like YouTube, we're especially interested to learn if the change's we've made to 10.3 help you.  We've tested this internally, and while we've seen a definite improvement, we really want to expand the scope of hardware and have those previously impacted try again.
    Here's all you need to do:
    1. Install the latest video drivers for your system (see step 3 on this page for video driver links and instructions.)  This is important, as older drivers contain limitations and bugs that can impact hardware acceleration in Flash Player.  Flash Player works with all video cards, but it's possible hardware acceleration might not be fully supported on older hardware.
    2. Download and install the browser appropriate Flash Player 10.3 from labs.adobe.com.  If you encounter problems installing, please let us know.  When upgrade issues occur, it's recommended you run the Flash Player uninstaller (Win, Mac), then try installing again.  
    3. Verify that the Flash setting "Enable hardware acceleration" is checked. 
    For instructions on finding this setting, please see step 1 of our Troubleshoot video playback issues article.   Ignore the instructions to uncheck this setting, we want hardware acceleration to be enabled (make sure “Enable hardware acceleration” is selected/checked.”)  If video still fails, please disable hardware acceleration and try again.
    4. Navigate to the following two video samples and verify that both video and audio play correctly:
    http://www.youtube.com/embed/tgbNymZ7vqY?wmode=direct
    http://labs.adobe.com/technologies/flashplayer10/live-player/
    Note: The second link is a large 1080p HD video, so don't worry about any buffering/bandwidth issues with this video: what we're looking for here are display issues (black screen, corrupted video, etc.)
    That's it!  We'd love to hear your success stories, especially if you were one of the ones that ran into problems when 10.2 was initially released!  However, we're equally interested in hearing if things don't work correctly.  Please let us know on this thread or send email to [email protected].  Please include a brief description of the problem and your hardware diagnostic file.
    Thanks,
    Chris

    http://forums.adobe.com/thread/657743

  • How do I embed a youtube video in a flash web page?

    I am attempting to embed a youtube video in a flash web page I created. I have been able to do this in html on static sites and thought I might be able to do the same in flash. Can anyone walk me thru the steps to do this?

    Thank you Rob,
    I am VERY new to actionscript and have an additional question:
    I saw this in the beginning notes of the document link you sent me:
    Use the following URL to load the chromeless player into your 
    application and build your own custom controls in Flash:
    http://www.youtube.com/apiplayer?version=3
    how do I do this? Do I do this in actionscript (how) or the import 
    feature?
    Any additional assistance you give me will be greatly appreciated
    Seta Majkia
    Kemitemultimedia
    www.kemitesound.com
    [email protected]

Maybe you are looking for

  • My Ipad is disabled because it is asking me for a passcode which I never put in.

    My ipad is asking me for a passcode. I never put one in so it is disabled. My niece was playing on my ipad and may have put one in, but she doesn't remember. How do I get it off?

  • IMessages not going through on iPhone 5 iOS 7

    My iphone 5 with iOS 7 isn't sending iMessages. Regular text messages go through immediately almost always. I am using the phone at home, at work, places I've been before the iOS 7 update & hadn't had a problem until i updated my phone. Sometimes tex

  • Products needed

    Hello: I created a form using LiveCycle Designer that connects to a Access Database. User chooses an item from a dropdown list and the form is populated with data from the database. I work in an area that has about 80 users all having reader loaded o

  • Ejecting Flash Drive

    I just purchased a SanDisk 4 GB Flash Drive which I hook up to my USB dock. I have been using a 2 GB SanDisk Flash Drive which seems to be operating differently than the 4 GB. I know you are not supposed to remove the flash drive when it is blinking

  • Mysterious missing memory

    I've just noticed about 8GB of memory appears to be missing from my Mac Mini... It has a 74.41GB capacity, but when I add up all the content of the folders in the Macintosh HD and the available memory, I only get to 66.8GB. What could be taking the r