Solved

Adding video to Flash template site

Posted on 2008-06-22
10
173 Views
Last Modified: 2010-04-03
Hello

I have purchased a Flash template website that is geared toward  photography. I have replaced the photos with my own, but would also like to add a couple different videos, probably about a minute each. I am wondering what the best method is to do this. I have footage from my MiniDV camera that is .avi format. The website doesn't really have room for an embedded player (like youtube size), so I'm wondering if I can create something that will bring up a pop-up player or what other options I have.

thanks in advance.
0
Comment
Question by:Trevor Local
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 18

Expert Comment

by:Rartemass
ID: 21843398
0
 
LVL 18

Accepted Solution

by:
Rartemass earned 500 total points
ID: 21843399
0
 

Author Comment

by:Trevor Local
ID: 21850023
thanks for the links. I think the JavaScript is a bit beyond my understanding at this point.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 18

Expert Comment

by:Rartemass
ID: 21850934
Another option is to create a simple html link (ie Click here for video) that opens a new window.
Set the size of the window to a bit larger than the dimensions of your video.
Have that new window open a html file that only has the embedded video in a player, and a 'close window' button.
You can then also set the parameters of the html file to remove the title bar, menus, status bar, etc so that the only thing that shows is the page with the video.

If you have Flash or Dreamweaver you can set most of this via point and click.
0
 

Author Comment

by:Trevor Local
ID: 21851884
I'm using Flash MX Pro 2004. Currently there's a clickable image in the template (that doesn't point to anything) that I'd like to use as the link to that popup window.
I drilled down to the image and come to a menu that has "up" "over" "down" "hit" - I assume this is where I'm supposed to configure the HTML popup window- is that right? (brand new to Flash!)

thanks
0
 
LVL 18

Expert Comment

by:Rartemass
ID: 21852034
Its been a while since I used Flash so I'm unsure on the exact location.
The 'hit' is the option you want to configure.

Basically have a link to the button, image, text, whatever, open with code similar to the attached code.

Just make sure the 'page.html' has a close button or people will get pissed at your site as they won't be able to close the window unless they know the keyboard shortcuts or use task manager.

<a href="#" onClick="window.open('page.html','mywindow','width=400,height=200,toolbar=no,location=no,directories=no,statu s=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no')">Click Here</a>

Open in new window

0
 

Author Comment

by:Trevor Local
ID: 21862704
OK- Is that code supposed to call up the "page.html" which contains the link/reference to the video file? And is that html page the same page that gets published with the .swf file from the .fla file?

I guess I'm not clear on where the code will reference where the video file is or the name etc.

below is the code that is currently associated with the image I'd like to use to kick out the popup:


(PS - I'm actually using Flash CS3)
thanks!
on (rollOver) {
    gotoAndPlay("s1");
 
}
on (rollOut, releaseOutside) {
    gotoAndPlay("s2");
 
}

Open in new window

0
 
LVL 18

Expert Comment

by:Rartemass
ID: 21862860
The code I gave will go onto your webpage so when you click the link it opens the page.html file.

The only contents on that page will be the .swf file inside the player, plus the close button.
0
 
LVL 18

Expert Comment

by:Rartemass
ID: 21862868
The code will need to go to the 'on mouse click' event of the linked image.
0
 

Author Comment

by:Trevor Local
ID: 21920591
I went with the JavaScript code, and used the joerenwigering player. thanks for the tips!
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The standard (non-Professional) edition of PaperPort (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) from Nuance Communications (http://www.nuance.com/) (previously known as ScanSoft) is limited to five Scanning Profiles, but …
Adults who share images on social media aren’t the only ones who need to worry about their privacy. Our culture’s tendency to share every move and celebration affects the privacy of our children, too.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question