Solved

Adding video to Flash template site

Posted on 2008-06-22
10
170 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 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/), previously known as ScanSoft. PaperPort is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperp…
PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

831 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