# Flash Video File Not Working In HTML

**URL:** <https://forum.kirupa.com/t/flash-video-file-not-working-in-html/234265>\
**Category:** flash\
**Created:** [July 31, 2007, 10:18pm UTC](https://forum.kirupa.com/t/flash-video-file-not-working-in-html/234265 "2007-07-31T22:18:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![guest9854](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@guest9854](https://forum.kirupa.com/u/guest9854)\
**Post date:** [July 31, 2007, 10:18pm UTC](https://forum.kirupa.com/t/flash-video-file-not-working-in-html/234265/1 "2007-07-31T22:18:24Z")

</div>

[CENTER][CENTER][COLOR=black][FONT=Verdana][/FONT][/COLOR][/CENTER][/CENTER]  
[COLOR=black][FONT=Verdana]I’ve embedded a flash swf file to play a video in my web page and its not working. If I play the swf file on its own (in Macromedia Flash Player 8) it works perfectly fine. However, when its embedded in web page … nothing. I get a blank page. Here’s what I did to get to this point (using Flash 8.0).

Using the “File \> Import \> Import Video …” menu options in Flash 8.0, I created an FLV verison of my video (which was original in mp4 format). Once done, I copied the newly created video’s FLV file, the video’s SWF file, and the skin’s SWF file up to the server. I then embedded the video’s SWF in an html page … and … as I said … nothing. Any ideas?

Relavent Code Sample (note all files are in the same directory/folder):

## MyWebPage.html

\<html\>  
\<body\>  
\<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000”  
id=“obj1”  
codebase=“[http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0](http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0)”  
width=“325”  
height=“280”  
align=“middle”\>

\<param name=“allowScriptAccess” value=“sameDomain” /\>  
\<param name=“movie” value=“video.swf” /\>

\<embed src=“video.swf”  
quality=“high”  
bgcolor="#000000"  
width=“325”  
height=“280”  
name=“obj1”  
allowScriptAccess=“sameDomain”  
type=“application/x-shockwave-flash”  
pluginspage=“[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)” /\>  
\</object\>  
\</body\>  
\</html\>

## Other Files in Same Directory:

Video.flv  
MojaveExternalAll.swf  
Video.swf[/FONT][/COLOR]
