This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Problem playing swf(flash) files in html/jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem playing swf(flash) files in html/jsp page" Watch "Problem playing swf(flash) files in html/jsp page" New topic
Author

Problem playing swf(flash) files in html/jsp page

Mark O' Sullivan
Ranch Hand

Joined: Aug 17, 2009
Posts: 160
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:

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.
Mark O' Sullivan
Ranch Hand

Joined: Aug 17, 2009
Posts: 160
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.
 
 
subject: Problem playing swf(flash) files in html/jsp page