Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Insert Flash / animation file with soundInsert Flash / animation file with sound
Previous
 
Next
New Post
1/22/2007 8:52 PM
 

We would like to auto play a 15 second animation with audio as a splash screen (i.e. we don't want any media player screen visible) on our DNN website. Preferably, but not necessarily, as a Flash format. An example similar to what we want to achieve can be found at

www.zeafruit.co.nz However we want audio to play as well as graphics. Can anyone suggest how this might be done? Thanks.
 
New Post
1/23/2007 8:37 AM
 
The first thing you want to do is obtain the SWFObject javascript from http://blog.deconcept.com/swfobject/. This eliminates the issue of the ie "click to activate".  Install this script in your JS directory.

Next, use a text/html module to embed the necessary script. Thats all.
 
New Post
1/24/2007 4:37 AM
 

Thank you very much Scott for that advice.

We have had mixed results:

Using DNN 4.4 we successfully uploaded the swfobject.js to the js directory. We also uploaded our swf movie.

We then uploaded the minimum code into a text/html module within a page in our DNN portal using a text/html module. This was achieved by adding the bare minimum code as advised at your reference http://blog.deconcept.com/swfobject/ .

The result (or lack of) can be viewed at: http://63.134.237.93/splashtest/JSPage/tabid/238/Default.aspx .

We simply used the same name for our movie as in the bare minimum code, so we did not make any change to our file path i.e. kept is as "movie.swf". Is that our mistake, do we need a more descriptive path like a full URL, href or ftp adresss?

A methood that was partially more successful was to insert an IFrame and in the edit options reference the movie in the Filename field. See http://63.134.237.93/splashtest/SplashPage/tabid/213/Default.aspx

The weakness of this method is 1. the Adobe installation update may not run if you dont have the version of Adobe installed on your browser, but more of a problem is 2. the page does not redirect to our home page once the movie finishes despite our reference to the page to redirect to in the Flash movie making process.

Well if you have any more great tips we will be most appreciative.

Thanks

Telopea

 

 

 
New Post
1/24/2007 8:53 AM
 

Try putting the flash movie in the root of your website. I've always had trouble getting them to play from other subdirectories in my site, but never dug in to it to determine what the issue was.

Presently, according to your source, your flash movie is located at:

\inetpub\DomainID141102\Portals\10\movie.swf

You should definitely change that to "portals/10/movie.swf" if you want to try to get it to run out of a directory. Your dnn instance can't "see" above the "portals" directory.

But, as I said above, if possible, try placing the movie in the root of your website (where the default.aspx is located) and change the movie source to be just:

movie.swf

Good luck!

 

 
New Post
1/24/2007 8:17 PM
 
Once again, thank you for your advice.
 
I made the changes you suggested and added the flash movie to the root of our website. However I was still not successful in getting the movie to play.
 
As a very random change I removed 'SCRIPT TYPE' from the code that you suggested we used in our txt / html module (from the website http://blog.deconcept.com/swfobject/ which you mentioned in a previous post) and replaced it with "EMBED". To my great surprise the java script file played.
 
Our issue is now that we are trying to hyperlink this embedded java script file to another page on the website. I have tried the obvious hyperlink button in the txt/html module but to no avail. I've also tried inserting an "HREF" into the html code section of the txt/html module. This doesn't seem to work either. Another point to note is when we created our java script file (movie.swf) we had the option of including a 'hperlink to another webpage' in the build process, which we took advantage of. This doesn't appear to have made much difference either - or maybe it is actually the problem...?
 
The code I'm trying to use in the txt/html module is below:
 
<EMBED id=flashcontent style="WIDTH: 555px; HEIGHT: 377px" src=/Portals/10/movie.swf type=text/javascript href="/splashtest/Home/tabid/195/Default.aspx" <DIV>
<DIV></DIV>
<SCRIPT type=text/javascript>
var so = new SWFObject("movie.swf", "mymovie", "800", "600", "7", "#336699"); so.write("flashcontent"); </EMBED></body></html></SCRIPT>
 
 
If you are able to offer any further suggestions or solutions it would be much appreciated.
 
Regards
Telopea
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Insert Flash / animation file with soundInsert Flash / animation file with sound


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out