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 ...Flash movie on a page?Flash movie on a page?
Previous
 
Next
New Post
4/25/2007 10:33 PM
 

Hi,

I have a flash movie that I want to run on a dnn page. What is the best way? I dont know where to put any files or anythlng. I have some .swf's (the video, a controller and a preload), acouple .js, .xml, a .css, a .gif and an html. The html file plays the video when opened in a browser, here is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
      <!-- saved from url=(0025)http://www.techsmith.com/ -->
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <meta name="DC.date" content="Wednesday, April 25, 2007" />
      <meta name="DC.language" content="ENU" />
      <meta name="DC.title" content="Video 2 project" />
      <meta name="itunes.block" content="No" />
      <meta name="itunes.explicit" content="Clean" />
      <meta name="itunes.category" content="Arts" />

      <title>Created by Camtasia Studio 4</title>
      <script type="text/javascript" src="swfobject.js"></script>
      <script type="text/javascript" src="CPNE Video.js"></script>
     
                            
    <link rel="stylesheet" type="text/css" href="FlashTemplate.css"/>
   </head>
   <body id="cs_flashBody" >
      <div id="flashcontent">      
   <div id="cs_noexpressUpdate">
     <p>The Camtasia Studio video content presented here requires JavaScript to be enabled and the  latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by <a href="http://www.macromedia.com/go/getflashplayer">downloading here</a>. </p>
      </div>
    </div>
      <script type="text/javascript">
    // <![CDATA[         
         var fo = new SWFObject( "CPNE Video_controller.swf", "CPNE Video_controller.swf", "320", "275", "7", "#FFFFFF", false, "best" );
         fo.addVariable( "csConfigFile", "CPNE Video_config.xml"  );
         fo.addVariable( "csColor"     , "FFFFFF"           );
         fo.addVariable( "csPreloader" , "CPNE Video_preload.swf" );
         if( args.movie )
         {
            fo.addVariable( "csFilesetBookmark", args.movie );
         }
         fo.write("flashcontent");       
         // ]]>

    </script>           
   </body>
</html>

 

So, what can I do with this? thanks!

 
New Post
4/26/2007 1:56 AM
 

You can use the Media Module to paly any video/audio, swf etc. files.


"Knowledge Sharing Matters!"
 
New Post
4/26/2007 2:26 AM
 

To keep it simple you could just use the above file in an iframe module.

Just drop an iframe module on to your site, reference the html file on your webserver, set the size to the right dimensions, set the border off and no scrolling.

Using swfobject, as this does, avoids the "click to activate issue".

 
New Post
4/26/2007 7:12 AM
 

So, just paste the whole code that I posted in an iframe? Or do you mean use the media module that the other person referenced in an iframe? If it is the code, where do I reference the html file, if I am actually using the html file? Thanks again

 
New Post
4/27/2007 3:16 AM
 

To use the iframe:

Upload all of your files to a convenient place on your webserver.

Drop an iframe module on your page where you want the flashfile to play.

You set the iframe to reference your html file. i.e.  set the source type to URL and then set the URL to point to your html file, use the full URL http://www.my-own-server.com/my-html-flash-file-holder.html 

Then set the other properties for the size, border and scrolling as I described before.

You can see the technique in use on http://www.kontrollelektronik.com for instance. 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Flash movie on a page?Flash movie on a page?


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