Link to home
Start Free TrialLog in
Avatar of BYU-Studies
BYU-StudiesFlag for United States of America

asked on

How do I embed a Flash video into my blogengine.net blog?

I set up a blog using blogengine.net and I need to add a photo album viewer to display photos on some of my blog entries. I got the Slideshow Photo Gallery extension to work, and it's exactly what I need, but Silverlight doesn't play well with Firefox or Safari. The other photo extensions I have found only display a larger version of the image, but I need to have the thumbnail on the blog entry and I can't go to the next image when I view it (so it's not really a player).

There are several good Flash photo album viewers, but I can't figure out how to embed a Flash player into my blog. If there is another blogengine.net extension that will work like Slideshow Photo Gallery that doesn't need Silverlight, I would be happy with that. Any ideas?
Avatar of masterpass
masterpass
Flag of India image

In the dashboard of your blog you will find an area for the HTML snippets. Insert the embed code of the flash into that. The embed code will be like

<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object>

OR

If you want a Javascript solution you can refer this site

http://blog.deconcept.com/swfobject/
ASKER CERTIFIED SOLUTION
Avatar of Designbyonyx
Designbyonyx
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please note, that the solution I provided is cross-browser friendly and does NOT require javascript in order to work.  The javascript, however, will ensure that the minimum requirements are met (player version), and will provide any installation/upgrading instructions and procedures.  It also allows for alternative content, which can be any html the user will see if flash is not installed.  I usually use an image representation of the flash content, or else a message saying "Flash is required".
Avatar of BYU-Studies

ASKER

Worked like a charm - thanks!
I had this working and now it's just saying -->Alternative Content-->. Any ideas?
Are you using a browser with Flash installed?  Trace your steps backwards.  I would bet money that you changed a variable and it stopped working.  Any time you change any paramaters (width, height, src) you need to do it in two places (there are two object tags).  Also, you need to check this in two browsers: IE, and anythings else (FF, Chrome, Opera) because IE will see one of the object tags, while other browsers will see both.  Often times this will work in IE and not Firefox, or vice versa.  That's usually an indication that you changed a parameter in only ONE of the two object tags.