Friday, April 2, 2010

How to embed Flash video and control...

I am trying to use HTML to embed a flash video, however I encounter the following errors:

Error #2044: Unhandled skinError:. text=[IOErrorEvent type=''ioError'' bubbles=false cancelable=false eventPhase=2 text=''

Error #2035: URL Not Found. URL: SkinOverPlaySeekStop.swf'']

Here is my HTML code:

%26lt;OBJECT classid=''clsid:D27CDB6E-AE6D-11cf-96B8-444553540000''

width=''640'' height=''480'' %26gt;
%26lt;param name=''movie'' value=''Content/example.swf''%26gt;
%26lt;param name=''quality'' value=''high''%26gt;
%26lt;param name=''play'' value=''true''%26gt;
%26lt;param name=''loop'' value=''false''%26gt;
%26lt;embed src=''Content/example.swf'' width=''640'' height=''480'' play=''false'' loop=''false'' quality=''high''%26gt;%26lt;/embed%26gt;
%26lt;/OBJECT%26gt;

Whenever I open the page I'll get a popup window with the above errors and once I click ''continue'' it will go ahead and play the video, but without the control skin.?Can anyone tell me how to get the skin to show up?

How to embed Flash video and control...

have you seen this:

http://www.gotoandlearn.com/play?id=77

then again you could just publish your fla and let flash generate the html

How to embed Flash video and control...

I found a solution at this thread.?Basically, you just have to move your skin file (ie. SkinOverPlayStopSeekMuteVol.swf) to the same directory as your index.html file.

doghouseJim, thanks for the link.?Although I didn't have to use swfobject in this case it is still good to know.?Also, I didn't know that Flash can generate the HTML.?This is a quick and easy way to see the video in a web browser and if you're using Firefox you can go to View %26gt; Page Source to see the code.?If you just want to see the HTML, then all you have to do is go to File %26gt; Publish Preview %26gt; HTML and it will open a web browser where you can view the page source.

No comments:

Post a Comment