• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

Adding video to Flash template site

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
Trevor Local
Asked:
Trevor Local
  • 6
  • 4
1 Solution
 
RartemassService Desk AnalystCommented:
0
 
RartemassService Desk AnalystCommented:
0
 
Trevor LocalAuthor Commented:
thanks for the links. I think the JavaScript is a bit beyond my understanding at this point.
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
RartemassService Desk AnalystCommented:
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
 
Trevor LocalAuthor Commented:
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
 
RartemassService Desk AnalystCommented:
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
 
Trevor LocalAuthor Commented:
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
 
RartemassService Desk AnalystCommented:
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
 
RartemassService Desk AnalystCommented:
The code will need to go to the 'on mouse click' event of the linked image.
0
 
Trevor LocalAuthor Commented:
I went with the JavaScript code, and used the joerenwigering player. thanks for the tips!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now