Flash video / autohide question
Hi,
I'm building a website in Flash 8 which plays a number of
videos. I have the choice of playing the videos using FLVPlayback
components built into each video's .swf, or just creating a custom
controller skin (the client wants a skin which resembles a
QuickTime controller).
My problem is this: the client wants the video controller to
"autohide", which is easy to do with skins by turning on the
"autohide" feature. However, we want the controller to stay in
place while the FLV buffers so users can see that it is loading.
Surely there is a short bit of ActionScript that will keep the
controller visible while buffering, only to revert back to
conventional "autohide on" once it's playing?
Cheers
Here is a sort of solution. Click on the component and open
the component inspector, make skinAutoHide = false. This way the
skin shows no matter what. Now give the flvplayback component
instance name like vid. The put this code on the frame;
var vidList:Object = new Object();
vidList.playing = function(){
vid.skinAutoHide = true;
vid.addEventListener ("playing",vidList);
stop;
What this does is listen for the movie to play. Once the
movie is playing the skin changes to autohide being true. It is not
exactly what you want, but it is better then nothing.
I know the above code works.
Now here is another method doing what you want but I am not
sure if it works:
var vidList:Object = new Object();
vidList.buffering= function(){
vid.skinAutoHide = false;
vid.addEventListener ("buffering",vidList);
stop;
The problem here is that when buffering is done I am not sure
how to change the skin hiding to true. That will disable hiding
during buffering though.
Similar Messages
-
I'm using "insert flash video" in DW8. I noticed that it puts
the skin and progressive swf files in the same folder as the page.
I'd like to move these files to a different folder. I was hoping I
could just do the "drag and drop" and it would update all the files
to know what has been moved. But that didn't seem to work. Any idea
if you can have the other files in a different folder? Does any one
know what code would need to be changed so it knows the new path?
Thanks for any help you can provide me.Here is what the page looks like...
http://www.margostern.com/extras_sucker.html
You will notice the flash .swf movie plays but it doesn't
include the skin
anywhere in the movie to control it... Why is this? Maybe
someone could
look at the HTML code and figure out what I'm doing wrong for
me?
Best Regards,
Chris Jumonville
"Chris Jumonville" <[email protected]> wrote in
message
news:elr3h0$bj3$[email protected]..
>I have a simple question. I am trying to embed a flash
video in my HTML
>page and I used Flash 8 to import the video with the
wizard and it created
>my .mov file to a .flv file and it also created a .swf
file of the movie as
>well. I selected to use one of the default movie player
skins in the
>wizard so it also exported a .swf file for the skin as
well. I'm wondering
>now how I embed it in my HTML using Dreamweaver 8 or
basically what is the
>HTML code I need to insert to get it to embed the video.
I got it to embed
>alright in Dreamweaver but it just has a black empty
space where the skin
>is supposed to be...
>
> --
> Best Regards,
>
> Chris Jumonville
> -
Flash Video Encoder Question(s)
Hello,
This is the first time we've used Flash Video Encoder. We
have a video that is about 12 minutes long that is in QuickTime
format. We have added it to the FVE queue and have two questions.
1. I think we may have messed up the settings. The first time
we tried to do this conversion we tooled around in there, but then
when we tried to go back in later we receive a message that says
"Flash Video Encoder cannot find the selected file. The file may
have been moved or deleted" when we click the Settings button.
2. It takes FOREVER to convert this video. Before we stopped
it, it had run for 25 minutes and the estimated time left was over
10 hours.
Is this normal? What on earth are we doing wrong?
Thanks for your help.
GNThat is odd since I also have quicktime pro and it IS an
option:
http://www.johnkalnin.com/images/quicktime.jpg
Maybe that is something that got installed when I installed
Sorenson Squeeze. I am very sorry if that is the case. Try
downloading and installing the sorenson squeeze trial and see if
that helps. -
Hello
I 've recently put a flash video on my site and used this code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16,0"
height="240" width="360"><param name="movie"
value="satdirect.swf" /> <param name="quality"
value="high" /><param name="play" value="false" />
<param name="LOOP" value="false" />
<embed src="satdirect.swf" play="false"
loop="false" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" height="240"
width="360"></object>
The video works but there's no play button (works only with right click and play). Does adobe flash have play/control buttons?
Please advice me..are your trying to display a swf only or a video (flv)?
if an flv, you can get flash to display controls by using an flvplayback component. if a swf, you'll need to add your own buttons to play and stop your swf.
in either case, that's not complete embedding code. use the html file published by flash. -
I am looking into converting our advertisements from windows
media / quicktime into flash. I've been looking around and it seems
like 400 x 300 would probably be the best bet, but I'm not sure if
this will be too large for those without a broadband connection.
Does anyone have any suggestions for different video sizes and
using pre-loading features? I am not very experienced with flash
and am just looking for some basic information.
Thanks,
-Jeffare your trying to display a swf only or a video (flv)?
if an flv, you can get flash to display controls by using an flvplayback component. if a swf, you'll need to add your own buttons to play and stop your swf.
in either case, that's not complete embedding code. use the html file published by flash. -
Basic question about Flash video. Please Help
Hello,
Sorry for the noob question but I'm struggling with the basic
understanding about the Flash video.
I just need to reduce a large video file to a small size with
a nice quality and the Flash Video Encoder does very god job with
that. But when I double click the compressed .flv file it opens as
a blank screen in the stand alone player without playing any video.
I can use Dreamweaver to produce a web page playing the file, but I
don't need this file for posting it on a web page, I just want the
file smaller and to simply play it on my computer or send it to
others.
What is the way to do this?
I appreciate your help.It sounds like you're not having problems with the actual
compression of the videos, just the playback, correct? All you need
is a standalone player that plays FLVs. Like Quicktime Player plays
MOVs, and Windows Media Player plays WMVs, you need something to
play the FLV files. There are many free options available. On a
mac, I use something called, strangely enough, SWF & FLV
Player. You can find it here:
http://mac.eltima.com/freeflashplayer.html
Just do a search for FLV players and you should find
something appropriate. The only downside is you'll need to make
sure anyone you're distributing the videos to also has an FLV
player. If you're sending your files to just a few people, no big
deal. If this is for the public in general, you would want to embed
a Flash video player in an HTML page and send it like that.
Hope that helps. -
Gnome-shell & flash video questions,
Hi all,
Right so I installed Arch on my old laptop this afternoon, a Toshiba Satellite M40 - first of all I was hoping to use Gnome-shell but it seems my old laptop isn't capable of running it.
see there for the specs, the graphic card is an Ati X300 - so once setup if gnome-shell is installed - the gnome screen is blue (the default wallpaper) then nothing else, no error neither. Removing gnome-shell will start gnome with an error that gnome-shell crashed (would be good to know how to solve it)
Then the second questions is regarding flash-video. Running the plugin and firefox youtube's video are running fine, but if I want to watch video from motogp.com (sorry the content is not free) the video is not smooth - so for gnome-shell I can understand the hardware isn't powerful enough but for the flash video I am puzzled and would love to be able to use my old laptop - especially that those video were running fine few month ago on the same laptop running XP.
Many thanks,You could try forcing a fallback mode. It needs gnome-panel and metacity to work. https://wiki.archlinux.org/index.php/GN … lback_mode
Flash's performance has always been worse in OSes other than Windows. http://arstechnica.com/software/news/20 … yer-10.ars -
Very basic question: Flash Media Server vs. embedding flash video
I'm hoping this is a quick easy question to answer:
What is the difference between Flash Media Server and simply
using a freeware Flash media player (like Flowplayer
http://flowplayer.org/) that
uses XML playlists to embed your Flash videos on a website?
What are the advantages to Flash Media Server and how does
something like Flowplayer not address issues that FMS can?
Thanks in advance!
ErikIn a nutshell flowplayer delivers the video through your web
browser. It does this via http protocol (port 80) and progressive
download on any web server
Progressive download finds the video on the server and plays
it back through the player as it is being downloaded. 2 important
things to take from this are 1, the video is being downloaded to
the clients hard drive, at the end of the playback they will have a
copy of your video that they can do whatever they like to and
repost it somewhere else. 2, It plays back as it downloads, meaning
if I'm viewing a 10 minute video from your site and want to skip
ahead to the middle or end I have to wait for the whole video to
download before viewing those segments. Your web host by the way
will love you for progressive download because it will appear as
though your transfer rate has gone through the roof. Once the
request for the video is made there is no turning back, the client
gets the whole thing whether they watch it or not.
Flash media server uses the rtmp protocol. This protocol is
an open socket protocol through port 1935. This is a two way street
essentially. When the user views a video using FMS they basically
get only enough of the video to keep the connection open and
satisfy the required buffer to assure clean playback. The bytes of
info that carry the video only go to the users memory, not the hard
drive. This allows the user to jump back and forth around in the
movie without having to wait for the whole thing to download.
Hope that helps. -
Flash Video: get URL question
Basically, I have a webpage with a flash video on it. What
I'm trying to do is, once the video plays through, the viewer
should be taken to another webpage automatically. Does this require
an ActionScript? Any help on this would be great.
Thanks.yep, it requires some actionscript here a link to a very good
tutorial:
http://www.quip.net/blog/2007/flash/actionscript-20/how-to-determine-completion-of-flv -
Embedding Flash video question
I'd like to build a page with 3 Flash videos and make the
user click "Play" when they want one to start. How do I program
that? Previously I've limited each page to one video and it starts
automatically.Make them FLV files (Flash video). In DW use INSERT | Media
> Flash Video
(or FLV), and choose a skin for the VCR controls.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"adobeyankee" <[email protected]> wrote in
message
news:gqmdd2$6oi$[email protected]..
> I'd like to build a page with 3 Flash videos and make
the user click
> "Play"
> when they want one to start. How do I program that?
Previously I've
> limited
> each page to one video and it starts automatically.
> -
Insert Media Flash Video... pre-loader question
Hello everybody
I'm desperately looking for a solution regarding the
following problem: I've inserted a rather long flv video (insert -
media - flash video) into my site. Visitors with smaller bandwith
have to wait up to 30" until the video starts playing. I either
want to show them a screen saying: "video is going to be buffered -
please wait" or to include an adaptive preloader that shows the %
until the video will start playing. How can this be achieved?
Thanks for all of your input, because this issue is very important
to me and time is running for the project...
TCGCan you divide your long video into several small clips or
chapters? Then
just put all the clips into a common player like this one
from Coffee Cup -
and loop them together.
http://www.coffeecup.com/video-player/
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"TeeCeeGee" <[email protected]> wrote in
message
news:g35efj$f81$[email protected]..
> Hello everybody
> I'm desperately looking for a solution regarding the
following problem:
I've
> inserted a rather long flv video (insert - media - flash
video) into my
site.
> Visitors with smaller bandwith have to wait up to 30"
until the video
starts
> playing. I either want to show them a screen saying:
"video is going to be
> buffered - please wait" or to include an adaptive
preloader that shows the
> until the video will start playing. How can this be
achieved? Thanks for
all of
> your input, because this issue is very important to me
and time is running
for
> the project...
> TCG
> -
Question--Dreamweaver and FLASH Video
I have looked at tons of forums now and still see no solution for the problem many of us are having. I've loaded a flash video using dreamweaver cs4 and it won't show up. I've gotten the white box syndrome too. I sure wish someone could figure it out...I've consulted three "experts" including someone on the phone at adobe. My flash file is very big...193 MB, but can't it be done?
Thanks to anyone who can help!
Here's the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SwimAmerica Coach Training</title>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>
<body>
<p>SwimAmerica Coach Training</p>
<p>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="640" height="480" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=../programdire ctorsitesupervisor/Video/SAVideo&autoPlay=true&autoRewind=true" />
<param name="swfversion" value="8,0,0,0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="640" height="480">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=../programdire ctorsitesupervisor/Video/SAVideo&autoPlay=true&autoRewind=true" />
<param name="swfversion" value="8,0,0,0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</p>
<script type="text/javascript">
<!--
swfobject.registerObject("FLVPlayer");
//-->
</script>
</body>
</html>Z,
www.swimamerica.org/programdirectorsitesupervisor/Video/SAVideo.flv
www.swimamerica.org/programdirectorsitesupervisor/VideoSAVideopage.html
www.swimamerica.org/programdirectorsitesupervisor/VideoSAVideopage.asp
Thanks... -
Flash video on web page takes long very time to load before it starts playback
I just created a basic flash file to play a video on my web page and it's taking several minutes to load before it starts playback.
I'm using progressive downlaod and the file is in *.mov format and is 84MB in size. At first that seemed large to me for web play back, but I thought it could handle it since I thought the way progressive download works is that it would start playing the first frame right away and progressively play other frames as they download. However, this seems to be downloading the whole file first (or a major part of it) before starting any playback at all.
Is there some kind of setting I'm missing or is my understanding of the download incorrect and the file size is too large?
Some vitals:
- I'm using Flash Pro CS5
- To create my flash file, I used the standard import video wizard and selected the a file that is "on my computer" and "load external video with playback component" and then, I selected one of the standard skins.
- To deploy the vidoe on my webiste I have three files:
1) swf file containing the FLV component
2) the swf file related to skin
3) the actual video (84MB, mov file)
- Web page includes/embeds reference to swf fileThanks for your response again. Looks like things have changed a bit to complicate this a little more.
adninjastrator wrote:
Are you saying that if I wait long enough it will start to play .... from the link you posted?
What you are implying here is correct. The file won't play no matter how long you wait. Looks like it's because of the "source" file settings in the Import Wizard may now be incorrrect. This is why it's not playing in the new file.
When I created my original Flash Video using a MOV file, during the import wizard, when asked "Where is your video file?" I selected the option "Already deployed to a web server...". Here I entered the url to where the video file is located on my production server.
When I created the new Flash Video using F4V file, during the import wizard, when asked "Where is your video file?" I selected the option "On your computer". Here I selected the file from my local drive.
Sorry for not pointing out the inconsistency earlier - I didn't think it mattered and plus I couldn't get the F4V file to import from the web server.
Anyway, I've changed my object tag using the acutal published html that flash generates and have uploaded all source files to same location.
http://www.upperhand.com/tv/video-intro.html
To sum up the problem(s) I need help with:
Issue #1 - When trying to import F4V file using import wizard, I cannot use "Already deployed to a web server..." as an option for the file location. I believe this is creating issue #2
Issue #2 - For some reason, the F4V file will not load into the SWF file when it's published to my production server.
It works when viewing locally through browser as c:\inetpub\wwwroot\mywebsite\video-intro.html
It doesn't work when viewing on development server through browser as http://localhost/mywebsite/video-intro.html
It doesn't work when viewing on production server through browser as http://www.mywebsite.com/video-intro.html
Issue #3 - When the above are resolved, I'm not certain if my orignal question/issue will be resolved... browser tries to downlaod full file before any playback. -
Windows task bar no longer auto hides when I fullscreen a flash video.
Like the question reads, my task bar is no longer auto hiding when I full screen flash videos in firefox. Other than the obvious issue of it just being unsightly and annoying, It also causes a few other problems. One being that the computer no longer recognizes that a fullscreen video is playing so it goes to screen saver, and goes to sleep at its normally timed intervals.
If you're using higher DPI settings, please check "Disable display scaling on high DPI settings" on 'firefox.exe' (=> right-click - Properties - Compatibility tab).
Also see https://support.mozilla.com/en-US/questions/880714 -
I’m having serious problems inserting Flash Video into
my site (and I have uploaded the script folder and file).
Background:
I’m fairly experienced with most software, but I am
totally new to web creation/web software. Code is above my head.
I created a family site using DW8 version 8.0.2. I took an
original WMV file and converted it to a FLV file using Adobe
Premiere Elements 3.0. I’ve done this step using both the
Sorenson Spark and the On2 VP6 codecs.
With my newly created FLV file (grandparents.flv), I inserted
it into my DW8 page using >Insert>Media>Flash Video. It
drops in and previews fine locally using the Preview function. This
process also creates the following files in my local directory: a
skin file (Clear_Skin_3.swf), a player file
(FLVPlayer_Progressive.swf), and a Scripts folder containing one
file (AC_RunActiveContent.js).
I upload all these files to the server and, while the flash
video works fine locally, it just shows up as a white box on the
web.
I’ve spent the better part of three days researching
this problem and see that it is common. That said, uploading the
Scripts folder/file as I have done does not solve the problem for
me as it appears to have done so for others.
As an aside, I can drop in the original WMV file into an
embedded Windows Media Player on my web site and that works fine.
That said, I don’t want to do it that way, I want to go with
Flash.
Anyone have any ideas.
The page in question is at:
http://www.strauss.com/Lauren.html.
Any help would be appreciated….I’m at my wits
end. Thanks.You have multiple instances of CSS and js links in the head
of the page.
Please remove the redundant ones.
Your flash is not working because this file -
http://www.strauss.com/FLVPlayer_Progressive.swf
is not properly calling the FLV file from the server. By
browsing directly
to it, you will see that you only get a blank page.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"BrianMN" <[email protected]> wrote in
message
news:ercn65$m65$[email protected]..
> And my problematic page is at:
>
>
http://www.strauss.com/Lauren.html
>
> Murray, any suggestions? I have read many of your
responses where your
> point
> out "upload the scripts file/folder". I have done that
and still have the
> problem.
>
>
>
Maybe you are looking for
-
Help syncing new iPad with Outlook 2007 on my PC and Blackberry Tour 9630
I have searched for answers and am stumped and frustrated... I bought an iPad (am trying to become I-friendly) and thought it would be convenient to be able to sync my "stuff" (Contacts, Calendar and notes) to the iPad so we'll have access to it whil
-
Is it possible to make an ImageIcon array?
Hi, I have been having some strange problems with ImageIcon... Here is my code... ImageIcon tiles[][] = new ImageIcon[5][5]; tiles[0][0] = "1.png"; I know this is not right, but basically, I want to make a 2dimensional array of imageIcon's, and then
-
Is this a new Apple? Macbook Pro issues - Data recovery.
I am a long time supporter of Apple (20 some odd years) but things seem different now and I am not talking about the "think different" from the old ad campaigns. Apple is a part of every aspect of my life with my personal machines and gadgets to the
-
Built-in speakers not showing in sounds or System profiler
Hi all, I've just bought a 2nd hand eMac 1Ghz model. Having logged in and checked over the installed software (just the basics) and connected to my home network, I tried starting up iTunes to listen to internet radio. I noticed that there was no soun
-
Burn a iPhoto slideshow to dvd
I can't figure out how to burn an iPhoto slideshow to a dvd. I created the slideshow and clicked on "export", the popup shows the different sizes, and a checked box that says "automatically to iTunes". From iTunes, I'm told to right click to burn th