.SWF video - how to mute onclick?
I was given a full .flv video and a 20 second clip of it in .swf format. The .SWF I want to play automatically, but mute when clicked.
here's the code for what I have so far - what should I add to have it mute on click?
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','320','height','190','title','SRDAR Intro','src','../SRDAR_open for web','loop','false','quality','high','wmode','transparent','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','../SRDAR_open for web' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="320" height="190" title="SRDAR Intro">
<param name="movie" value="../SRDAR_open for web.swf" />
<param name="quality" value="high" />
<param name="LOOP" value="false" />
<param name="wmode" value="transparent" />
<embed src="../SRDAR_open for web.swf" width="320" height="190" loop="False" quality="high" wmode="transparent" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
</object>
</noscript>
Hi
Flv's and swf's are not the same, and the controls you have in flv's are inserted as part of a control skin which then controls the flv.
If you have the flash pro program you could create the controls within this, but you would require the fla file which created your swf.
PZ
Similar Messages
-
How to insert .swf video into html & mute onclick
I have a .swf file - a 20 sec vid with no player controls, just the video - made by someone else, so this is the only file type I have and can't seem to edit it.
Any way to insert the .swf, and be able to mute the video? It's being used as a banner-type-thing and if people don't want to hear it, they should be able to mute it. I don't need play/pause/stop/etc. - just mute. So however it can be done, either on-click or as a button, would be great...
so confused! this should be easy, no?
thanks
-jonboyHi
Unfortunately as you do not have the fla file that was used to create the swf, this cannot be done without turning of the sound on the users computer, which would probably annoy your user.
The only other way is to purchase an swf de-compiler, and then recreate the fla with the mute button, this would naturally require you to use flash pro.
PZ -
Controller skins for multimedia (swf) video -how to add?
My version of Acrobat Pro 9 does not have controller skins for swf files added with the Tools > Multimedia > Flash menu. But in watching AdobeTV - Kelly McCathran "A PDF Can Do That" video, she is using Acrobat Pro v9 on a Macintosh and at 13:38 time there are controller options available in her setup. Is this because the video is FLV and it includes the controller skins? http://tv.adobe.com/#vi+f15383v1011
Is it possible to add skins as a swf file is embedded in PDF to control playback?
Is there a place to download basic controller skins?
Can Javascript be used for playback controls of embedded swf files?
My goal is to be able to pause a video and add a comment like in the "Commenting on Video in Acrobat" movie at AdobeTV - http://tv.adobe.com/#vi+f15361v1015. I want to do more testing of this feature on my Mac because the first time I could make comments but the time code/reference was not captured and therefore the comment could not jump back to the video frame. I hope this was just me and not an oversight for all Macintosh users.I doubt you'll get an answer here. We're all users, not Adobe employees. Acrobat 9 Pro is pretty new, and not many people are using the multimedia tools.
You might have more luck on this website:
http://www.acrobatusers.com/topics/rich-media
They also have forums where Adobe employees sometimes answer questions. -
How do you display a swf video / videos when you mouse over
How do you display a swf video / videos when you mouse over, It'll be something like a pop up but just that it doesn't open in another windows but within the same window and will be like a pop up roll over image.
Thank you for the reply.
I've been putzing around with it and came across the 'SetEventHandler' object and thought I'd try and make that one work.
Here's what I've got so far.
<mx:SetEventHandler target="{turnAroundMovie}" name="handleMovieClip" handler="stopMovie()"/>
And then my fuction.
<mx:Script>
<![CDATA[
private function stopMovie():void{
turnAroundMovie.stop(); <!-- here's where I'm getting stuck -->
]]>
</mx:Script>
My first instinct was the simple stop(), but that didn't fly. I even added a stopMovie frame in my .swf and tried a gotoAndStop('stopMovie'); but that didn't fly either. And that's kind of where I'm stuck at. -
just got fcp, how do mute the sound on the video clip so it does not come through the audio track?
Please helpDon't edit the audio into the timeline. Or pull the audio level down to zero in the inspector or on the audio waveform in the timeline.
-
How to control SWF Video using JavaScript?
Hi,
I'm developing a web page which will use Flash Videos. I need
to control the video without using a typical skin. The current tool
I'm using to convert my wmv to SWF FLV is Coffee Cup. A hex edit
suggests this is a Version 8 SWF.
I am trying to write some javascript to control which Frame
is displayed. I have seen code such as movie.TGotoFrame(...); and
movie.GotoFrame, movie.StopPlay() etc. Unfortunately I cannot seem
to use these methods. Eventually I suspected that my SWF simply did
not make these methods available and when I run my video in my web
page a RightClick shows a Context Menu that has no Reverse,
Forward, Back options. Other SWF videos do have these options
(obviously). This seems to prove that nothing I could code would
make the GotoFrame work (ie no Forward (by one frame) option in
menu suggests it could never work from javascript).
Some Questions
Is there a tool to examine a SWF to see what methods are
available to javascript control? (expose the API) and is there a
setting required in the <object> setup to enable javascript
interaction?
Is there something about SWF V8 files that is the problem or
is likely that the CoffeeCup Web Video Player can only make
partially functioning SWF Videos?
What is the difference between GotoFrame and TGotoFrame and
have these perhaps been superceeded by something else (there is an
Adobe page which suggests they are only available up to Version 5
(not sure if that means Version 5 of SWF files or Version 5 of the
FlashPlayer - to add to my confusion).
I'm not currently a Flash type developer and have no tools to
speak off and don't know ActionScript. I'm thinking of heading in
the Flash direction but not sure how to move forward.
Cheers
StuartThanks Alex,
quote:
You need to learn to move forward :)
I have a Greek friend who when I asked him how he was getting
on with his dissertation project stated "in Greece we have a saying
- every start is different".
In this case my start is to dip a toe in the Flash water and
not get scalded.
Anyhow,
One clarification from the CoffeeCup forum helped me to
understand that my SWF used an external FLV and that may explain
why the rightclick context menu did not have the more movie
specific Back, Forward etc. Sounds plausible. So assume external
FLV.
quote:
it is very easy to add a small script into the root timeline
of your SWF file
A little hand holding here would be appreciated. I have
downloaded the Flex SDK. Can I use this free tool to do what you
suggest? Using MXML and ActionScript. If so, a little bit more info
would help.
quote:
That's all, it should work. Of course, you can tell me that
your movie
already has an onEnterFrame() eventhandler at the root
timeline.
What's a problem? Just create an empty movieclip and add this
script
into its frame 1 (it maybe the only frame). But do not forget
to
change "this.xxxx" to "_root.xxxx" within such script.
Hhhmmm. A bit stumped. I've had a look at the SWF using
FlashDig. I noticed what appears to be Assembly Language (Push,
Pops, Jumps etc) and presumably in amongst all of that may be an
onEnterFrame. Perhaps linked to a DefineFunction2 node.
Unfortunately the SWF is very large (60K) and there is no
search/find tool so that makes finding functions a bit harder than
expected. Struggling a little with the concept of _root and Level0
etc.
I assume you are suggesting manually building a replacement
SWF (empty movieclip?) if the onEventHandler happens to be used for
something else. Presumably set/getVariables only interacts with
this function so if it is 'booked' in my SWF I would be in a spot
of bother with your suggested approach?
I wonder if you are assuming I have some sort of Flash tool.
Possibly like this one shown in this tutorial
WebWasp
Panorama tutorial
Note. The panorama is actually close to what I eventually
want to do except I intend to make a video of a scene by rotating
clockwise by 360 degrees. Then add buttons onto the SWF (or DHTML)
which communicates with the SWF to move forward or back through the
video. Moving forward would be like a clockwise rotation and moving
back would create anticlockwise rotation. This explains the need to
GotoFrame (or similar). From that perspective I don't need to
become a Flash guru (for now) and can't justify buying all the
expensive flash tools for this one (apparently) simple task: Frame
by Frame control of an external FLV via the SWF.
Note. I've started using SWFObject. Might this library help?
In summary.
How do I add the onEnterFrame ActionScript sample (or
something similar) into a SWF using only the Flex SDK command line
tools or similar in order to control an external FLV?
Cheers
Stuart -
How to embed a swf video into an html page?
I am haing trouble embedding my swf video into my html page. Here is my code:
<embed height="340" width="549" src="flashvideos/test.swf" allowscriptaccess="always" allowfullscreen="true" flashvars="&MM_ComponentVersion=1&skinName=C:/Users/RogerPa1/Documents/Visual Studio 2008/WebSites/WebSite1/Products/Create/flashvideos&streamName=C:\Users\RogerPa1\Docum ents\Visual Studio 2008\WebSites\WebSite1\Products\Create\flashvideos\Robotics&autoPlay=true&autoRew ind=false"></embed>
When I run the page the place where the flash player should be is blank. But if I right click I can select settings so the flash player is there. I'm using absolute urls for the flashvars because I read in a forum that that's what you're supposed to do. Anyway I am a little frustrated that the video won't play. I tried creating a video with no skin and the same problem occurs.
Thank You
idesofdecemberAnswered
-
Controller skin for SWF video in dreamweaver CS3?
Hi there,
I have inserted a SWF video into my website, however right
now it's playing automatically and i have no way of stopping and
pausing my video... how can I add a skin controller to my SWF file?
I know I can do it with FLVs, but I dunno how to do it in SWFs....
THanks!
cgbubI have managed to fathom it out.
-
Turning the page in a pdf from inside a swf video
I am creating interactive PDFs from InDesign. On the first page of the pdf I have a swf video in which I would like to put a link or a button that would move you to page 2 of the pdf. Not another frame of the video or URL, but just the next page of the PDF. Is it possible to do this? And if so, how?
You don't make it clear what you're using. A "SWF" is a Flash file, and a video is a video. A SWF can load and play a video, but "SWF video" means nothing.
If you're talking about a SWF file created in Flash, then inside your SWF you will have to fire an ExternalInterface command using ActionScript:
ExternalInterface.call(“eval”, “pageNum++”);
If you're talking about a video file embedded in the PDF and using the default playback widget, then you can't do it. -
Default video sound is mute. But when i also can turn on from the volume bar.
I use FLVPlayback from CS 4 to input videos.
I need default sound is mute, but I can turn it on when I need it from volume bar.
Please see my attachement:
Here is the AS:
stop();
button1.addEventListener(MouseEvent.CLICK,clickListener1);
function clickListener1(event:MouseEvent):void {
gotoAndStop("30sec");
button2.addEventListener(MouseEvent.CLICK,clickListener2);
function clickListener2(event:MouseEvent):void {
gotoAndStop("30sec2");Yes, I can change the volume from 100 to 0 at flvplayback component. If I do this, I can not turn on the sound anymore. The swf file will stay mute all the time.
I need an answer using AS3 to control player. It is more flexible.
video player default is mute. I can turn on the sound later from volume bar.
thanks
silky -
Stop swf video from starting when page is openend
Hello,
How can i stop an swf video file from starting when the page is opened in browser? Under the publish settings i click on (paused at start) . This doesn't seem to have any affect on whether the video starts when the page is opened. Any suggestions would be welcome.thanks for your reply. I'm a novice at this. where would i go to make that change? i don't see anything in the code that say's autoplay "true"
-
Video controls for placed SWF video
Hi all,
I placed a number SWF videos into my site (as I did not want to follow the embed HTML method) which has given me the desired effect I wished to achieve, the only problem is that the placed SWF videos do not come with a set of video controls (Play, Stop FFW etc)
Does anyone know if it is possible to achieve this, maybe by inserting some HTML, if so would anyone have an example of the code required. If not I would happy to hear any alternative suggestions of how to include a video within your site that includes video control (without the need to host the video on YouTube etc)
Thanks in advance for any ideas
ShaunHi Shaun,
I suppose that Adobe Flash Pro forum guys can help you
http://forums.adobe.com/community/flash
Best Regards
TaikaJim -
I have a swf video file that I put on a page on my website. I
was wondering how I would assign play and stop buttons to it,
instead of having the movie autoplay and loop.
I am a newbie, so sorry if this is obvious.crjhunter wrote:
> I have a swf video file that I put on a page on my
website. I was wondering how
> I would assign play and stop buttons to it, instead of
having the movie
> autoplay and loop.
>
> I am a newbie, so sorry if this is obvious.
Well, SWF video is timeline based video so using basic
play(); stop(); action
targeting the main timeline will do just fine. Tho, if you
are loading it in leve
or movie clip holder than adjust the action accordingly.
If MC Holder:
mcHolder.stop(); mcHolder.play();
if in level3 (example):
_level3.stop(); _level3.play();
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
My movies and music videos won't show up on my computer screen, I can hear the sound but not see the video how do I fix this? I'm not sure what to do as far as turning my purchased movie into DVD goes either. I just want to put the movie onto a DVD disc but my itunes won't even show that I have a blank disc in the drive, I'm not sure what is wrong or how to fix this, any help at all would be much appreciated.
Hi @anthony7722 ,
Thank you for your query, I will do my best to help!
I grasp that you uninstalled the Intel graphic driver and the catalyst control. You reinstalled the Intel driver and now you can view and hear videos on the Internet but you are unable to set the resolution as high as previously.
When I checked the specifications for your notebook I see that you have switchable graphics.
Here are two links that I believe will help.
Overview of Switchable Graphics or Dual GPUs
Switchable Graphics on Notebooks Configured with Intel and ATI GPUs
Here is a link to HP Pavilion dv7-6150eb Entertainment Notebook PC Drivers
Please try this process.
1. Download the chipset driver, and both graphic drivers and save them but do not install them yet
2, Delete the chipset driver and install the updated one.
3. restart your notebook
4.Delete the Intel driver and install the updated one
5. restart your notebook
6. Delete the AMD driver and install the updated driver.
You should now have a Catalyst Control Center.
This should now allow you to use the higher graphic card which should support the higher resolution.
I hope this helped.
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping! -
I have synced my phone it has taken all my purchases photos and videos how do i get them back
i have synced my phone it has wiped all my purchases photos and videos how do i get them back
Did you sync to a different computer than the one you had previously synced to? If so you need to sync to the original computer. Otherwise you can just restore the last backup you made on the previous sync.
Maybe you are looking for
-
SSO - Authentication for Calendar withe MS Exchange
Hi, I have configured the calendar iView (com.sap.netweaver.coll.appl.ui.gw.MeetingWith) to work with IIS and CDO (MS Exchange) with user mapping. Do you know the different steps to use it in SSO authentication mode ? What are the modifications neede
-
Hi again. I'm looking for a screen to go with my 21.5 Inch iMac. This would be mainly used for gaming with my Xbox 360 however I would use it with my Mac as well. It also needs to be height adjustable so that I can align it perfectly with my Mac. So
-
I need these deleted text messages, they are very important. I have been up all night trying to recover these lost text messages but no matter how many times I try I can't get them. I haven't synced my device to itunes since sometime in 2013 and my
-
In beta 8, reopening the most recently closed tab would reopen that tab in the same location where it was before. Is this a bug or perhaps a setting in about:config?
-
My Mac desktop has intermittent Wifi connectivity
I've had a problem with wifi connectivity for over a year now, and have had the desktop repaired once already, with no improvement. Upgrade to Mavericks has made no difference. The computer always thinks that I have a connection to my network. In sys