Results 1 to 2 of 2
  1. #1
    marktheman is offline Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0

    Default Problem embedding flash (swf) files in jsp page for video streaming

    Hi,
    I know this isn't directly a JSP question but I'm trying to play swf (flash files) in my html page. I can play simple animations but not video streaming. I have downloaded a video from youtube in the swf format but when I try and play the video in the jsp code, i receive the following, "An error has occured". I'm new to flash but find it very confusing that I can play simple animations but not videos, even though on youtube they come up as the swf format. Here's the html code I'm using:
    Java Code:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/ cabs/flash/swflash.cab#version=6,0,40,0" width="468" height="60" id="mymoviename"> <param name="movie" value="example.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <embed src="example.swf" quality="high" bgcolor="#ffffff" width="468" height="60" name="mymoviename" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> </object>
    As I say I am new to flash, and I have read that files on youtube are in flv format, but when using page info in Firefox, they are seen as swf format. Any help with my problem much appreciated. Thanks very much

  2. #2
    marktheman is offline Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0

    Default

    Hi,
    Figured this out. Youtube use a swf which links to hidden movie files. The swf files alone are not good enough. One just gets the swf player with no content. Thanks.

Similar Threads

  1. video streaming
    By anniya0n in forum JDBC
    Replies: 3
    Last Post: 05-08-2013, 03:21 PM
  2. Live Video Streaming
    By DrCrook in forum Advanced Java
    Replies: 0
    Last Post: 11-18-2010, 07:48 PM
  3. story of a robot who needs video streaming...
    By kievari in forum Networking
    Replies: 6
    Last Post: 10-29-2010, 07:13 AM
  4. J2ME/Android Video Streaming Project
    By mox27 in forum Forum Lobby
    Replies: 4
    Last Post: 04-06-2009, 08:48 AM
  5. PeerStream Audio Video Streaming Server 4.61
    By levent in forum Java Software
    Replies: 0
    Last Post: 07-31-2007, 07:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •