drodey
asked on
How do I insert Flash into a Blogger post
I'm using Blogger and have Flash videos I'd like to display within the blog entries. The flash files are stored online as .SWF files.
Can someone provide the HTML code to properly display the video within the blog?
I've tried this but it just shows a blank white square:
<object data="http://www.whatever.com/testvideo.swf" height="320" width="240"
type="application/x-shockw ave-flash" >
</object>
Thanks!
Can someone provide the HTML code to properly display the video within the blog?
I've tried this but it just shows a blank white square:
<object data="http://www.whatever.com/testvideo.swf" height="320" width="240"
type="application/x-shockw
</object>
Thanks!
<object classid="clsid:d27cdb6e-ae 6d-11cf-96 b8-4445535 40000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="240" id="video" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.wherever.com/video.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://www.wherever.com/video.swf" quality="high" bgcolor="#ffffff" width="320" height="240" name="video" align="middle" allowScriptAccess="sameDom ain" type="application/x-shockw ave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
Should work.
Regards,
Max.
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.wherever.com/video.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://www.wherever.com/video.swf" quality="high" bgcolor="#ffffff" width="320" height="240" name="video" align="middle" allowScriptAccess="sameDom
</object>
Should work.
Regards,
Max.
ASKER
Hmm... I get the following error from Blogger when I click on the PUBLISH POST button.
Your HTML cannot be accepted: Tag is not closed: <embed src="http://www.wherever.com/video.swf" quality="high" bgcolor="#ffffff" width="320" height="240" name="video" align="middle" allowScriptAccess="sameDom ain" type="application/x-shockw ave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
Your HTML cannot be accepted: Tag is not closed: <embed src="http://www.wherever.com/video.swf" quality="high" bgcolor="#ffffff" width="320" height="240" name="video" align="middle" allowScriptAccess="sameDom
ASKER
Anyone have any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
FYI, I posted this question in the Programming section and found a working version there.
https://www.experts-exchange.com/questions/21933369/How-do-I-insert-a-Flash-video-into-a-Blogger-post.html
<embed src="http://www.whatever.com/testvideo.swf" height="320" width="240" type="application/x-shockw ave-flash" >
</embed>
But, I tested your code and it works now. I'll award you the points.
So I understand, what is the difference between your code and the one above? They both work.
Thanks!
https://www.experts-exchange.com/questions/21933369/How-do-I-insert-a-Flash-video-into-a-Blogger-post.html
<embed src="http://www.whatever.com/testvideo.swf" height="320" width="240" type="application/x-shockw
</embed>
But, I tested your code and it works now. I'll award you the points.
So I understand, what is the difference between your code and the one above? They both work.
Thanks!
Using both object and embed is more browser compatible ;) Strange however that you need to use </embed> That is actually invalid HTML, but I guess the blog doesn't allow empty tags (the ones that end with /> )
Regards,
Max.
Regards,
Max.
ASKER
<embed src="http://www.wherever.com/video.swf" width="320" height="240" quality="high" type="application/x-shockw