Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Adding video to Flash template site

Posted on 2008-06-22
10
Medium Priority
?
181 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
  • 6
  • 4
10 Comments
 
LVL 18

Expert Comment

by:Rartemass
ID: 21843398
0
 
LVL 18

Accepted Solution

by:
Rartemass earned 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In a previously published article (http://www.experts-exchange.com/articles/10331/Automatic-Duplex-Scanning-in-PaperPort-Versions-11-12-14.html) here at Experts Exchange, I explained how to achieve duplex (double-sided) scanning in Nuance's PaperPor…
In a previous article here at Experts Exchange (http://www.experts-exchange.com/articles/18414/Create-a-PDF-file-with-Contact-Sheets-montage-of-thumbnails-for-all-JPG-files-in-a-folder-and-each-of-its-subfolders-using-an-automated-batch-method.html)…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

876 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