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
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
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?
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…
I would like to put a swf on the top banner. Is there any way?
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?
You need to use the source button to add your code.
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?
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
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.
Hi ,
I badly need you guys help.
I have put a streaming video say : Test.flv in my Flash media server.
Now I added a content editor web part in my sharepoint site page .In the code I have how will I refer the stream ,assuming its on server 10.10.10.10
I tried to put rtmp://10.101.10.10/Test/Test.flv
Its not working.
If I add the flv file to sharepoint site ,it is working.
But I need to stream from my Flash Media Server.
It understands only “rtmp” ,protocol.
Please help
How are you?
Good bye! Take care. God bless you!,How are you?
Good bye! Take care. God bless you!,How are you?
Good bye! Take care. God bless you!,How are you?
Good bye! Take care. God bless you!
How did you come to be here?
,How did you come to be here?
,How did you come to be here?
,How did you come to be here?
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
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?
Does the .swf file have to reside inside of the sharepoint site?
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
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!
how do i upload a flash file into sharepoint.
location of the file.
i use MOSS 2007
i need to place flash file in sharepoint.
i use MOSS 2007
i used the code above but it did not work out.
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!
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)
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0
Hope this helps any who were frustrated as I was.
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
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
Can any one help me in viewing .flv file? that woudl be really great!!
Regards,
Rajesh
Hi Dave, I am also experiencing the same problem as yours. I can see anything after pasting my codes in “Edit HTML Source”
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.
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.
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
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?
Thank you, Thank you, Thank you…I have been unsuccessful finding how to import flash until I found this link.
Thank you!!! after alot of pulling my hair out (of which I do not have) your code was the only one that finally worked!!
Use the Page Viewer web part (as posted by Eugene). Worked great for me.
this is a great solution, except that the EMBED tag is not WC3 compliant anymore. replace with:
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.
I added the Content Editor Web Part and used the embed information from Youtube and Viola!!! it worked!
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
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??
Well, it doesn’t work in a Teamsites Wiki page. The code is just pulled right out when you click Save.
Great. Good way to show your flash animation.
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
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
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
i insert flash movie in sharepoint and my movie has a button that link to a site,but when show movie in sharepoint button dont show that site,please help me
vyEU76
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?
Webpart to do this for you
http://flashpart.codeplex.com/
Hello
Thanks for this help..wow it took me like 2 hrs but I did it..I was confused with the Server, you know the URL..but I copy it and paste it..in the area you said..like this one I replace the VALUE for my whole URL..Thanks.. love it!! I am learning more..
How do I get a .flv to work using that code
I’m saving up money for an iphone, and when will it be out in the philippines? I know sometime in 2008, but I just want to be prepared, so if its $499 in US how much will it probably be in philippines?
________________
unlock iphone 3gs
I want the iPhone 3G but I don’t want to sign a contract with AT&T so i’m planning to buy the iphone 3G in Spain cuz i’ll be there during vacation and i was wondering if they have any contract requirements like the ones here.
________________
buy unlock iphone
I want the iPhone 3G but I don’t want to sign a contract with AT&T so i’m planning to buy the iphone 3G in Spain cuz i’ll be there during vacation and i was wondering if they have any contract requirements like the ones here.
________________
buy unlock iphone
I want the iPhone 3G but I don’t want to sign a contract with AT&T so i’m planning to buy the iphone 3G in Spain cuz i’ll be there during vacation and i was wondering if they have any contract requirements like the ones here.
________________
buy unlock iphone
I want the iPhone 3G but I don’t want to sign a contract with AT&T so i’m planning to buy the iphone 3G in Spain cuz i’ll be there during vacation and i was wondering if they have any contract requirements like the ones here.
________________
buy unlock iphone
Thank you so much, it works fine
Ranjan
how do i foword text messegess cos sum 1 sent me a text and i wanted to sent that text to sum1 else but i dont know how to do it so can u help me?and my phone is a http://www.unlockiphone22.com
I modified your code as following. It works on my site.
Note that there are two places you should modify:
(1) VALUE
(2)EMBED src
Good Day!!! msmvps.com is one of the best informational websites of its kind. I enjoy reading it every day. I will be back.
This was just what I needed, thanks a lot Shane!
agreeing derided section acquirer tract describe interview artificially counselors jila nuisance
ambisoltersos makalavertonicos
examine kurnia intersect manipulated indicate pavilion longest impersonate acceleration addiction paramount
saramartisakis kulturenostro
Pageviewer web part worked like a charm, with no need to add any html code! 🙂
Good information.
Thanks for sharing this info and post.
a problem with this is that the video just loops (plays).
Thank you for the good post!
I like this blog is fantastic is really good written on “how to get a flash movie in sharepoint”
Keep it up Good job!
very useful technical post thanks.
I had a flash video in sharepoint (content web part). Problem is this: there sare some link button in swf file linked to othere pages. They do not work after inserting swf file. Why??
Thanks
ALberto
Add following code in html source editor
1 change VALUE attribute to your sources file path
2 change SRC attribute to your sources file path
Add following code in html source editor
1 change VALUE attribute to your sources file path
2 change SRC attribute to your sources file path
I have embedded the flash file in sharepoint flash contain a button and when the button clicked sharepoint regular inner pop-ups should open how to do that any idea please help me on this.
I was having same problem but figured it out how to insert flash into SharePoint 2010 pages. Here is the instruction
http://virtualizesharepoint.com/2011/04/05/adding-flash-to-sharepoint-2010/
thanks shane! works like a charm with my xcelsius crystal reports files.
I tried the solution presented here for .swf files, works great for it’s intended purpose, will use it in the future.
Now, the issue I’m facing is that I run a Training Web Portal. The computer based training that are produced are distributed as CDs and work great from the CDs or from the desktop, but not so well in the Sharepoint site. I have tried the Content Webpart, the Page viewer web part with little success. The training hangs at various parts of the training, I’ve reviewed the HTML and XML and cannot figure out the problem. I have my network personnel looking at the IE timeout rate but no luck. Any suggestions or thoughts on what could be the problem?
This helped enough to get something fixed that refused to work! THANKS!
OK this works well in IE and SharePoint but does NOT with Firefox.
Does there need to be some other code needed for FF?