How to get a flash movie in SharePoint

Alright I admit I had never displayed flash in a SharePoint site until today.  I figured it would be hard and really it isn't too hard.  All you need to do is upload the .SWF file to a web location (I used a document library but it could be on a different server) then add a content editor web part to your page.  Now go into your content editor web part and click on source editor.  Now paste the following code into the web part.

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="550" HEIGHT="400" id="myMovieName">
<PARAM NAME=movie VALUE="myFlashMovie.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="/support/flash/ts/documents/myFlashMovie.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>

Replace myFlashMovie.swf with the url of your SWF file.

That is it.  You now have a flash movie on your site.

I also found that my favorite company Smiling Goat has a web part that handles all of this for you.  Go here http://www.smilinggoat.net/stuff.aspx and download the flash movie web part.


Shane
SharePoint Help

Comments

# Flash-Movie in SharePoint-Webpart einbauen

Monday, April 03, 2006 5:08 AM by SharePoint, SharePoint and stuff

[Via The SharePoint Farmer's Almanac]
Shane zeigt, wie man ein Flash-Movie in einen Webpart einbaut...

# re: How to get a flash movie in SharePoint

Friday, October 06, 2006 2:08 PM by Eugene

If you have html page calling Flash movie

You upload all related file to your sharepoint website or even to any other website add standard Page viewer web part at set link to html wrapper.

It is working

# &quot;Click to activate&quot; workaround?

Friday, October 20, 2006 2:04 PM by Bradley

Is there a way to get around the "Click to activate and use this control" issue that came out with the IE update? The javascript workaround seems to require and external javascript file. Is there an easier way?

# re: How to get a flash movie in SharePoint

Tuesday, November 21, 2006 8:31 AM by Ze Wen

Anybody, can help me how to use the flash movie viewer from http://www.smilinggoat.net/stuff.aspx??? I have put it in virtual server, but then i can't put my *.swf file... Help me PLIZZZZ...

# re: How to get a flash movie in SharePoint

Tuesday, December 26, 2006 3:06 AM by Ken

I would like to put a swf on the top banner. Is there any way?

# re: How to get a flash movie in SharePoint

Friday, March 09, 2007 9:27 AM by Dave

Whenever I try to embed my Flash code into a page content field through the html editor, the code just goes away after I press [OK].  I can write other html, but for some reason SharePoint is disregarding my flash code.  Has anybody else had this problem?  Any ideas?

# re: How to get a flash movie in SharePoint

Friday, March 09, 2007 9:55 AM by Shane

You need to use the source button to add your code.

# re: How to get a flash movie in SharePoint

Friday, March 09, 2007 12:24 PM by Dave

I am using the [Edit HTML Source] button when I put in my Flash code.  Is there a different source button that I'm not using?

# re: How to get a flash movie in SharePoint

Monday, May 14, 2007 12:39 PM by Steve

Seems simple, but I'm pretty simple, too.  When I do this, what I see displayed is nothing but "Press spacebar or enter to activate this control."  When I do eith, nothing happens.  What might I be doing wrong?

Thanks

# re: How to get a flash movie in SharePoint

Thursday, May 24, 2007 10:57 PM by Clay

Dave, you're missing the really simple part. :) When you go to edit the content editor web part, there are two big buttons - one for Rich Text Editor and one for Source Editor. You are clicking the top one and need to click the bottom one. That puts you in Source mode where you can input direct HTML that will look just like what you see when you are on a website and click View -> Source.

# re: How to get a flash movie in SharePoint

Friday, June 15, 2007 4:51 AM by Raydio

I understand everything here, but my problem is uploading the *.swf... MOSS 2007 seems to be screwing up the file.

All the files I've tried work fine until I upload them to MOSS, when I download'em again they still don't work.

Any advice appreciated

# re: How to get a flash movie in SharePoint

Wednesday, June 20, 2007 4:20 PM by Joe

This is great. I am having a problem with the location of the flash file. Do I have to stored the file in the site?

# re: How to get a flash movie in SharePoint

Wednesday, June 20, 2007 4:54 PM by Joe

Does the .swf file have to reside inside of the sharepoint site?

# re: How to get a flash movie in SharePoint

Sunday, July 22, 2007 2:09 PM by noela

Hi. I`ve been using successfully tips in this page. I would like to have a navigation bar in order to control the flash movie. I suppose it could be done during the swf creation. But may be I can include this bar as part of the code inserted with source code in the web part.

Thanks

# re: How to get a flash movie in SharePoint

Monday, July 23, 2007 3:37 PM by Tony Jones

All, FYI....

Upload all your SWF files using the upload feature from the image/document library.  I tried dragging SWFs into SPD and it corrupted all of them!

# re: How to get a flash movie in SharePoint

Tuesday, December 11, 2007 2:25 PM by Canilucas

I tried this and didn't get it to work. I have a FLASH file that imports a TXT file for content. When I used this technique, just pointing to the FLASH file in the EMBED code, all my text fields came up as undefined. My FLASH files resides on another server. I tried linking to it directly, but that didn't work either.

So I used the Page Viewer Web Part instead. It worked like a charm!

# re: How to get a flash movie in SharePoint

Wednesday, December 19, 2007 3:15 PM by ChrisM

Hey - so I was having a lot of the same problems as all of the other poster above.  The 2 solutions that worked for me are as follows:

1.  Use the Page Viewer web part (as posted by Eugene).

2.  Use the SmilingGoat FlashViewer webpart...but be sure to populate the field with the shortcut to the FlashPlayer's CAB file

(this shortcut is in the code of Shane's original post)

download.macromedia.com/.../swflash.cab

Hope this helps any who were frustrated as I was.

# re: How to get a flash movie in SharePoint

Thursday, January 10, 2008 2:27 PM by Jack

Ok, I'm trying to put a Flash animation on a SharePoint site a different way.  I know how to use content editor/source Web parts and all that like the back of my hand.  I don't want my flash animation there.

I put the appropriate code and links to it in the default.master page immediately after the <BODY> tag.  It works and displays just like I want it to (above the bar where one would sign in as a user of the Web site, typically the first thing at the top).

But it does not display AT ALL when one is viewing the site anonymously.  And, unforutnately, I want anonymous users to see this.

Any ideas/help?  I trying dragging Web parts (Page Viewer, etc.) to the top of SharePoint page above where your title/logo/description would be, I've been researching and trying to find a solution for the past 5 hours roughly.  And I'm about to bang my head through a wall (patience is FINALLY wearing thin :P)

Much thanks in advance.

Jack

# re: How to get a flash movie in SharePoint

Tuesday, January 29, 2008 11:54 PM by Rajesh

Can any one help me in viewing .flv file? that woudl be really great!!

Regards,

Rajesh

# re: How to get a flash movie in SharePoint

Monday, February 04, 2008 8:08 PM by Adrian

Hi Dave, I am also experiencing the same problem as yours. I can see anything after pasting my codes in "Edit HTML Source"

# re: How to get a flash movie in SharePoint

Wednesday, February 13, 2008 5:53 PM by Daren

How about adding a SWF via a list. Has anyone figured out a work around for that. I can add flash through SPD but not via any of the lists. Everything I've read says SharePoint strips out object tags by design.

# re: How to get a flash movie in SharePoint

Thursday, March 13, 2008 11:48 AM by David

For this to work you have to add the content into a content editor webpart, not into a wysiwyg field from a content type. although they are seemingly the same. This will only work through a webpart.

# re: How to get a flash movie in SharePoint

Sunday, March 16, 2008 3:21 AM by Neeraj Sharma

Hi,

I need to embed a flash file into sharepoint.The Page Viewer Web Part works fine.. but the issue is i am getting teh undefined error in the web page.. The situation is the flash gets the data from SQL server via an aspx page...now i am confused that how to put the aspx, .swf and other related files in MOSS..so that i can see the data also in sharepint page along with the jazziness on flash..

Can anyone help me out plz..

Neeraj Sharma

# re: How to get a flash movie in SharePoint

Monday, April 07, 2008 8:02 AM by Rachel

I have managed to get the flash movie into sharepoint but I now need to pass in the SharePoint Logged on user as a flashvar param. Does anyone know how to do this?

# re: How to get a flash movie in SharePoint

Thursday, April 17, 2008 6:42 AM by Morris

Thank you, Thank you, Thank you...I have been unsuccessful finding how to import flash until I found this link.

# re: How to get a flash movie in SharePoint

Tuesday, April 29, 2008 8:01 PM by Kris

Thank you!!!  after alot of pulling my hair out  (of which I do not have) your code was the only one that finally worked!!

# re: How to get a flash movie in SharePoint

Wednesday, May 07, 2008 8:33 AM by nator

Use the Page Viewer web part (as posted by Eugene).  Worked great for me.

# re: How to get a flash movie in SharePoint

Wednesday, May 14, 2008 2:26 PM by Ben

this is a great solution, except that the EMBED tag is not WC3 compliant anymore. replace with:

<PARAM NAME=src VALUE="*insert file path/url here*">

# re: How to get a flash movie in SharePoint

Thursday, May 15, 2008 1:23 AM by Hemendra

Hi,

I am using flash menu in my sharepoint site.i added one content editor web part and put the below code in source editor.but my flash menu is not displaying can you please tell me .where i am wrong?

i have uploaded swflash.cab file in sharepoint site because some permission issue.

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="infpw01900/.../swflash.cab"

WIDTH="550" HEIGHT="400" id="myMovieName">

<PARAM NAME=movie VALUE="component.swf">

<PARAM NAME=quality VALUE=high>

<PARAM NAME=bgcolor VALUE=#FFFFFF>

<EMBED src="infpw01900/.../component.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400"

NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"

PLUGINSPAGE="www.macromedia.com/.../getflashplayer">

</EMBED>

</OBJECT>

# re: How to get a flash movie in SharePoint

Friday, June 06, 2008 10:10 AM by Jorge

I added the Content Editor Web Part and used the embed information from Youtube and Viola!!! it worked!

# re: How to get a flash movie in SharePoint

Tuesday, August 12, 2008 8:17 AM by Jon

I have no problems uploading my flash movie or embedding it onto the site. I have video controls that I would like to use on the video but they dont show when embedded onto the site. Is there a way to solve this problem. I have uploaded the video control skin to the folder with all of the other relevent flash objects. I know it works as when I view the .swf file all shows how it should.

If anyone can shed some light it would be greatly appreciated.

Cheers

Jon

# re: How to get a flash movie in SharePoint

Friday, August 15, 2008 6:37 AM by maryann

i'm trying to upload a flv/swf file to a sharepoint intranet site - because my flv file is too large, the i/t department requested I place it on their media server - what happens then is it tries to open my link to the page in windows media player - if I go to the server and just click on my page there, it plays fine??

# re: How to get a flash movie in SharePoint

Monday, August 25, 2008 7:34 PM by tjb

Well, it doesn't work in a Teamsites Wiki page. The code is just pulled right out when you click Save.

# re: How to get a flash movie in SharePoint

Sunday, September 28, 2008 4:09 AM by Tariq Younas

Great. Good way to show your flash animation.

# re: How to get a flash movie in SharePoint

Friday, December 19, 2008 6:10 PM by sergio

I am using Page Viewer Web part to view Flash movie. It works fine if the Flash files are on another web server. How do I do use the MOSS server to display an html file (that drives the movie)? I have to use the same server to host Flash and MOSS.

Thanks

# re: How to get a flash movie in SharePoint

Tuesday, February 10, 2009 11:13 AM by Sep

Does any software need installing on the Sharepoint server?  Mine isn't displaying using any of these methods.  The swf is in the top level of the Moss site collection documents

Thanks

# re: How to get a flash movie in SharePoint

Thursday, June 18, 2009 1:00 PM by vikpri

Thanks for the post.

The flash works fine in sharepoint page.However,flash has an asp page at the end  which is of submit type.

The asp page does not execute in sharepoint.any ideas on what needs to be done to run  asp page in sharepoint?

Error: the source code of asp is displayed after clicking submit button)

Thanks

# re: How to get a flash movie in SharePoint

Monday, July 20, 2009 9:50 AM by Jeremiah

I got the original instructions to work no problem. I noticed that there is a web part "Flash Movie Player" but I couldn't get that to work. New feature?

# re: How to get a flash movie in SharePoint

Wednesday, September 02, 2009 3:49 AM by Stiow

Webpart to do this for you

http://flashpart.codeplex.com/

Leave a Comment

(required) 
(required) 
(optional)
(required)